templates: move cart@ds + button next to file upload widget (pt2) (#35724)
This commit is contained in:
parent
0901e1c87c
commit
aaa5e11795
|
@ -39,7 +39,9 @@
|
|||
{% endfor %}
|
||||
<div class="grid-1-1 newline">
|
||||
{% if piece.max_files > 1 %}
|
||||
<button class="plus" style="margin-bottom: 2rem;">+</button>
|
||||
<div class="grid-1-12 button-plus">
|
||||
<button class="plus">+</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -11,10 +11,10 @@
|
|||
|
||||
<div class="piece">
|
||||
<div class="title grid-1-1 newline">{% if piece.codePiece %}{{ piece.codePiece }} - {% endif %}{{ piece.text }}
|
||||
{% if 1 or piece.reglementaire %}<span class="required">*</span>{% endif %}</div>
|
||||
{% if piece.reglementaire %}<span class="required">*</span>{% endif %}</div>
|
||||
|
||||
{% for file in piece.files %}
|
||||
<div class="file-upload-widget short grid-1-2 {% if file.token %}has-file{% endif %}" style="margin-bottom: 1rem">
|
||||
<div class="file-upload-widget short grid-1-3 {% if file.token %}has-file{% endif %}" style="margin-bottom: 1rem">
|
||||
<div class="file-button">
|
||||
<input type="file" data-url="{{ file.url }}"
|
||||
{% if not piece.codePiece %}accept="application/pdf"{% endif %}>
|
||||
|
@ -38,11 +38,11 @@
|
|||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
<div class="grid-1-1 newline">
|
||||
{% if piece.max_files > 1 %}
|
||||
<button class="plus" style="margin-bottom: 2rem;">+</button>
|
||||
{% endif %}
|
||||
<div class="grid-1-12 button-plus">
|
||||
<button class="plus">+</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% endfor %}
|
||||
|
|
|
@ -11,10 +11,10 @@
|
|||
|
||||
<div class="piece">
|
||||
<div class="title grid-1-1 newline">{% if piece.codePiece %}{{ piece.codePiece }} - {% endif %}{{ piece.text }}
|
||||
{% if 1 or piece.reglementaire %}<span class="required">*</span>{% endif %}</div>
|
||||
{% if piece.reglementaire %}<span class="required">*</span>{% endif %}</div>
|
||||
|
||||
{% for file in piece.files %}
|
||||
<div class="file-upload-widget short grid-1-2 {% if file.token %}has-file{% endif %}" style="margin-bottom: 1rem">
|
||||
<div class="file-upload-widget short grid-1-3 {% if file.token %}has-file{% endif %}" style="margin-bottom: 1rem">
|
||||
<div class="file-button">
|
||||
<input type="file" data-url="{{ file.url }}"
|
||||
{% if not piece.codePiece %}accept="application/pdf"{% endif %}>
|
||||
|
@ -38,11 +38,11 @@
|
|||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
<div class="grid-1-1 newline">
|
||||
{% if piece.max_files > 1 %}
|
||||
<button class="plus" style="margin-bottom: 2rem;">+</button>
|
||||
{% endif %}
|
||||
<div class="grid-1-12 button-plus">
|
||||
<button class="plus">+</button>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in New Issue