Skip to content

Commit

Permalink
fixed pug syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
vuchl committed Oct 16, 2017
1 parent e4c6093 commit b4bf14e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/fields/core/fieldCheckbox.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template lang="pug">
input(type="checkbox", v-model="value", :autocomplete="schema.autocomplete", :disabled="disabled", :name="schema.inputName" :class="schema.fieldClasses")
input(type="checkbox", v-model="value", :autocomplete="schema.autocomplete", :disabled="disabled", :name="schema.inputName", :class="schema.fieldClasses")
</template>

<script>
Expand Down
2 changes: 1 addition & 1 deletion src/fields/core/fieldLabel.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template lang="pug">
span(:id="getFieldID(schema)" :class="schema.fieldClasses") {{ value }}
span(:id="getFieldID(schema)", :class="schema.fieldClasses") {{ value }}
</template>

<script>
Expand Down
2 changes: 1 addition & 1 deletion src/fields/core/fieldRadios.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template lang="pug">
.radio-list(:disabled="disabled")
label(v-for="item in items", :class="{'is-checked': isItemChecked(item)}")
input(type="radio", :disabled="disabled", :name="id", @click="onSelection(item)", :value="getItemValue(item)", :checked="isItemChecked(item)" :class="schema.fieldClasses")
input(type="radio", :disabled="disabled", :name="id", @click="onSelection(item)", :value="getItemValue(item)", :checked="isItemChecked(item)", :class="schema.fieldClasses")
| {{ getItemName(item) }}

</template>
Expand Down
2 changes: 1 addition & 1 deletion src/fields/core/fieldSelect.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template lang="pug">
select.form-control(v-model="value", :disabled="disabled", :name="schema.inputName", :id="getFieldID(schema)" :class="schema.fieldClasses")
select.form-control(v-model="value", :disabled="disabled", :name="schema.inputName", :id="getFieldID(schema)", :class="schema.fieldClasses")
option(v-if="!selectOptions.hideNoneSelectedText", :disabled="schema.required", :value="null", :selected="value == undefined") {{ selectOptions.noneSelectedText || "&lt;Nothing selected&gt;" }}
option(v-for="item in items", :value="getItemValue(item)") {{ getItemName(item) }}
</template>
Expand Down
2 changes: 1 addition & 1 deletion src/fields/core/fieldSubmit.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template lang="pug">
input(type="submit", :value="schema.buttonText", @click="click", :name="schema.inputName", :disabled="disabled" :class="schema.fieldClasses")
input(type="submit", :value="schema.buttonText", @click="click", :name="schema.inputName", :disabled="disabled", :class="schema.fieldClasses")
</template>

<script>
Expand Down

0 comments on commit b4bf14e

Please sign in to comment.