9 lines
538 B
Twig
Executable File
9 lines
538 B
Twig
Executable File
<div class="date-selector container row">
|
|
<label for="date">{{ "Date" | trans }}</label>
|
|
<button class="previous-date-button button"><</button>
|
|
<input type="date" id="date" name="date" value="{{ date ? date : "now" | date("Y-m-d") }}" required title="{{ "Enter a date in this format YYYY-MM-DD" | trans }}"/>
|
|
<button class="next-date-button button prevent">></button>
|
|
<a href="/{{ endpoint }}/{{ date ? date : " now" | date("Y-m-d") }}/" class="button main">{{ "Go" | trans }}</a>
|
|
</div>
|
|
|
|
{{ encore_entry_script_tags('date') }} |