Improved plugin form action button alignment
This commit is contained in:
parent
e6057d330b
commit
ae09c82ab3
1 changed files with 20 additions and 18 deletions
|
|
@ -34,25 +34,27 @@
|
||||||
</component>
|
</component>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<taskSubmitter
|
<div v-if="isTask" class="uk-margin">
|
||||||
v-if="isTask"
|
<taskSubmitter
|
||||||
:submit-url="submitApiUri"
|
:submit-url="submitApiUri"
|
||||||
:submit-data="formData"
|
:submit-data="formData"
|
||||||
:submit-label="submitLabel"
|
:submit-label="submitLabel"
|
||||||
@submit="onTaskSubmit"
|
@submit="onTaskSubmit"
|
||||||
@response="onTaskResponse"
|
@response="onTaskResponse"
|
||||||
@error="onTaskError"
|
@error="onTaskError"
|
||||||
>
|
>
|
||||||
</taskSubmitter>
|
</taskSubmitter>
|
||||||
|
</div>
|
||||||
|
|
||||||
<button
|
<div v-else class="uk-margin">
|
||||||
v-else
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="uk-button uk-button-primary uk-form-small uk-float-right uk-margin-small uk-width-1-1"
|
class="uk-button uk-button-primary uk-form-small uk-width-1-1"
|
||||||
@click="newQuickRequest(formData)"
|
@click="newQuickRequest(formData)"
|
||||||
>
|
>
|
||||||
{{ submitLabel }}
|
{{ submitLabel }}
|
||||||
</button>
|
</button>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue