Skip to content

Commit

Permalink
[BUGFIX] vue-form-gerenator class in wrapper div
Browse files Browse the repository at this point in the history
  • Loading branch information
jmverges committed May 25, 2017
1 parent 79c0852 commit b5d58ac
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/formGenerator.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template lang="pug">
div
template(v-for='field in fields' v-if='fields')
fieldset.vue-form-generator(v-if='schema != null', :is='tag')
div.vue-form-generator(v-if='schema != null')
template(v-for='field in fields')
fieldset(v-if='schema != null', :is='tag')
.form-group(v-if='fieldVisible(field)', :class='getFieldRowClasses(field)')
label(v-if="fieldTypeHasLabel(field)", :for="getFieldID(field)")
| {{ field.label }}
Expand All @@ -15,8 +15,8 @@ div
.hint(v-if='field.hint') {{ field.hint }}
.errors.help-block(v-if='fieldErrors(field).length > 0')
span(v-for='(error, index) in fieldErrors(field)', track-by='index') {{ error }}
template(v-for='group in groups' v-if='groups')
fieldset.vue-form-generator(v-if='schema != null', :is='tag')
template(v-for='group in groups')
fieldset(v-if='schema != null', :is='tag')
legend(v-if='group.legend') {{ group.legend }}
template(v-for='field in group.fields')
.form-group(v-if='fieldVisible(field)', :class='getFieldRowClasses(field)')
Expand Down

0 comments on commit b5d58ac

Please sign in to comment.