mirror of
https://forge.chapril.org/tykayn/osm-commerces
synced 2025-10-09 17:02:46 +02:00
précision champs importants et manquants dans edit form
This commit is contained in:
parent
bf2c5bdf7d
commit
21d3a5dfc7
8 changed files with 304 additions and 48 deletions
|
@ -1,24 +1,26 @@
|
|||
<div id="opening_hours">
|
||||
<h2>
|
||||
<i class="bi bi-clock"></i>
|
||||
{{ 'display.opening_hours'|trans }}</h2>
|
||||
<h2 class="mt-4">
|
||||
<i class="bi bi-clock"></i>
|
||||
{{ 'display.opening_hours'|trans }}</h2>
|
||||
<p class="description">{{ 'display.opening_hours_description'|trans }}</p>
|
||||
|
||||
{% if commerce_overpass.tags_converted.opening_hours is defined and commerce_overpass.tags_converted.opening_hours != '' %}
|
||||
<input type="text"
|
||||
placeholder="Remplissez"
|
||||
class="form-control"
|
||||
name="custom__opening_hours"
|
||||
id="custom__opening_hours"
|
||||
value="{{ commerce_overpass.tags_converted.opening_hours }}">
|
||||
{% if commerce_overpass.tags_converted.opening_hours is defined and commerce_overpass.tags_converted.opening_hours != '' %}
|
||||
<input type="text"
|
||||
placeholder="Remplissez"
|
||||
class="form-control"
|
||||
name="custom__opening_hours"
|
||||
id="custom__opening_hours"
|
||||
data-important="true"
|
||||
value="{{ commerce_overpass.tags_converted.opening_hours }}">
|
||||
{% else %}
|
||||
<input type="text"
|
||||
placeholder="Mo-Fr 10:00-12:00 "
|
||||
class="form-control"
|
||||
name="custom__opening_hours"
|
||||
id="custom__opening_hours"
|
||||
value="">
|
||||
<input type="text"
|
||||
placeholder="Mo-Fr 10:00-12:00 "
|
||||
class="form-control"
|
||||
name="custom__opening_hours"
|
||||
id="custom__opening_hours"
|
||||
data-important="true"
|
||||
value="">
|
||||
<br>
|
||||
{% endif %}
|
||||
<hr>
|
||||
<hr>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue