ajout infos formulaire envoi
This commit is contained in:
parent
44b4f49289
commit
2bcec59281
11 changed files with 211 additions and 61 deletions
|
@ -11,24 +11,31 @@
|
|||
'tiktok': { 'icon': 'bi-tiktok', 'label': 'TikTok' },
|
||||
'youtube': { 'icon': 'bi-youtube', 'label': 'YouTube' },
|
||||
'linkedin': { 'icon': 'bi-linkedin', 'label': 'LinkedIn' },
|
||||
'pinterest': { 'icon': 'bi-pinterest', 'label': 'Pinterest' },
|
||||
|
||||
|
||||
} %}
|
||||
|
||||
<div id="social-media-tags">
|
||||
{% for key, social in social_medias %}
|
||||
{% set tag_name = 'contact:' ~ key %}
|
||||
<div class="input-group mb-2">
|
||||
<span class="input-group-text" style="width: 120px;">
|
||||
<span class="input-group-text" style="width: 10rem;">
|
||||
<i class="bi {{ social.icon }} me-2"></i>
|
||||
{{ social.label }}
|
||||
{{ social.label }}
|
||||
</span>
|
||||
<input type="text"
|
||||
class="form-control"
|
||||
id="commerce_tag_value__{{ tag_name }}"
|
||||
name="commerce_tag_value__{{ tag_name }}"
|
||||
value="{{ place.tags[tag_name] ?? '' }}"
|
||||
value="{{ commerce_overpass.tags_converted[tag_name] is defined and commerce_overpass.tags_converted[tag_name] |length > 0 ? commerce_overpass.tags_converted[tag_name] : '' }}"
|
||||
placeholder="@compte ou URL complète">
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
{# <pre>
|
||||
{{ dump(commerce_overpass.tags_converted) }}
|
||||
</pre> #}
|
||||
</fieldset>
|
||||
{% endblock social_medias %}
|
Loading…
Add table
Add a link
Reference in a new issue