feat(options): label above the upload control on the Images tab
The label-rendering change is in the shared generic loop, so the Images and Questions tabs were already covered; the only remaining label beside its control was the upload row on Images (label in a left column next to the button). It now renders as a full-width form-label above the Upload button. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
parent
858359ac71
commit
1ddfb4c7b4
1 changed files with 3 additions and 3 deletions
|
|
@ -546,10 +546,10 @@
|
||||||
<div class="row action_hide_on_inherit">
|
<div class="row action_hide_on_inherit">
|
||||||
<div class="ls-space margin bottom-15 top-15">
|
<div class="ls-space margin bottom-15 top-15">
|
||||||
<div class="row ls-space margin bottom-15">
|
<div class="row ls-space margin bottom-15">
|
||||||
<div class="col-4">
|
<div class="col-12 mb-1">
|
||||||
<label>{{ sprintf(gT("Upload an image (maximum size: %d MB):"), templateConfiguration.maxFileSize / 1024 / 1024) }}</label>
|
<label class="form-label" for="upload_image_frontend">{{ sprintf(gT("Upload an image (maximum size: %d MB):"), templateConfiguration.maxFileSize / 1024 / 1024) }}</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-8">
|
<div class="col-12">
|
||||||
<span id="fileselector_frontend">
|
<span id="fileselector_frontend">
|
||||||
<label class="btn btn-outline-secondary" for="upload_image_frontend" role="button" tabindex="0">
|
<label class="btn btn-outline-secondary" for="upload_image_frontend" role="button" tabindex="0">
|
||||||
<input class="d-none" id="upload_image_frontend" name="upload_image_frontend" type="file">
|
<input class="d-none" id="upload_image_frontend" name="upload_image_frontend" type="file">
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue