Skip to content

Commit

Permalink
add indent
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiadong.Yu committed Jan 9, 2018
1 parent ecd2ca5 commit 026439a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/formGenerator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ div.vue-form-generator(v-if='schema != null')
button(v-for='btn in field.buttons', @click='buttonClickHandler(btn, field, $event)', :class='btn.classes') {{ btn.label }}
.hint(v-if='field.hint') {{ fieldHint(field) }}
.errors.help-block(v-if='fieldErrors(field).length > 0')
span(v-for='(error, index) in fieldErrors(field)', v-html="error", track-by='index')
span(v-for='(error, index) in fieldErrors(field)', v-html='error', track-by='index')

template(v-for='group in groups')
fieldset(:is='tag', :class='getFieldRowClasses(group)')
Expand All @@ -32,7 +32,7 @@ div.vue-form-generator(v-if='schema != null')
button(v-for='btn in field.buttons', @click='buttonClickHandler(btn, field, $event)', :class='btn.classes') {{ btn.label }}
.hint(v-if='field.hint') {{ field.hint }}
.errors.help-block(v-if='fieldErrors(field).length > 0')
span(v-for='(error, index) in fieldErrors(field)', v-html="error", track-by='index')
span(v-for='(error, index) in fieldErrors(field)', v-html='error', track-by='index')
</template>

<script>
Expand Down

0 comments on commit 026439a

Please sign in to comment.