Initial commit
This commit is contained in:
10
templates/_dashboard/map/_form.html.twig
Normal file
10
templates/_dashboard/map/_form.html.twig
Normal file
@ -0,0 +1,10 @@
|
||||
{{ form_start(form, {'name': "", 'attr': {'class': 'sp_grid__map-form sp_form__xhr sp_form__onchange'}}) }}
|
||||
{{ form_widget(form.file, {'id': 'map_file' ~ idHash, 'attr': {'data-file-preview-target': 'map' ~ idHash}}) }}
|
||||
|
||||
{% if route|end_with('_new') %}
|
||||
{{ form_widget(form.version, {'id': 'map_version' ~ idHash}) }}
|
||||
{% endif %}
|
||||
|
||||
{{ form_widget(form._token, {'id': 'map__token' ~ idHash}) }}
|
||||
{#<button class="btn">Save</button>#}
|
||||
{{ form_end(form) }}
|
||||
Reference in New Issue
Block a user