Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Motion Bank
MB.js
Quasar Components Shared
Commits
6a773f70
Commit
6a773f70
authored
Jun 03, 2019
by
christianrhansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
colorization and added spacing for testing only
parent
6361cb24
Pipeline
#11807
passed with stage
in 8 minutes and 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
25 deletions
+26
-25
forms/FormMain.vue
forms/FormMain.vue
+26
-25
No files found.
forms/FormMain.vue
View file @
6a773f70
...
...
@@ -4,31 +4,32 @@
// .row.md-gutter.justify-between.items-between
div
template(v-if="loaded", v-for="(field, key) in fields")
form-row-checkbox.col-sm-12.no-margin(
v-if="isType(field.type, 'checkbox')",
v-model="local[key]",
:type="field.type",
:validation="$v.local[key]",
:attributes="field.attributes",
:label="$t(field.label)",
:helper-label="$t(field.helperLabel)",
:error-label="$t(field.errorLabel)",
:class="{ 'col-xl-6': !field.fullWidth, 'col-12': field.fullWidth }"
)
form-row.col-sm-12.no-margin(
v-else,
v-model="local[key]",
:type="field.type",
:select-options="field.options",
:autocomplete-options="field.autocompleteOptions",
:validation="field.validators ? $v.local[key] : undefined",
:attributes="field.attributes",
:label="$t(field.label)",
:helper-label="$t(field.helperLabel)",
:error-label="$t(field.errorLabel)",
:class="{ 'col-xl-6': !field.fullWidth, 'col-12': field.fullWidth }"
)
.row.xs-gutter.full-width.justify-end.items-end
div.q-mb-md.bg-purple
form-row-checkbox.col-sm-12.no-margin(
v-if="isType(field.type, 'checkbox')",
v-model="local[key]",
:type="field.type",
:validation="$v.local[key]",
:attributes="field.attributes",
:label="$t(field.label)",
:helper-label="$t(field.helperLabel)",
:error-label="$t(field.errorLabel)",
:class="{ 'col-xl-6': !field.fullWidth, 'col-12': field.fullWidth }"
)
form-row.col-sm-12.no-margin(
v-else,
v-model="local[key]",
:type="field.type",
:select-options="field.options",
:autocomplete-options="field.autocompleteOptions",
:validation="field.validators ? $v.local[key] : undefined",
:attributes="field.attributes",
:label="$t(field.label)",
:helper-label="$t(field.helperLabel)",
:error-label="$t(field.errorLabel)",
:class="{ 'col-xl-6': !field.fullWidth, 'col-12': field.fullWidth }"
)
.row.xs-gutter.full-width.justify-end.items-end.bg-purple
slot(name="form-buttons-add")
slot(name="form-buttons")
submit-button.q-mt-md(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment