user: current location edit form and page

This commit is contained in:
nobohan
2021-11-17 11:35:54 +01:00
parent 32c7695d80
commit 5905038425
4 changed files with 121 additions and 25 deletions

View File

@@ -0,0 +1,23 @@
{% extends 'ChillMainBundle::layout.html.twig' %}
{% block title %}{{ 'Edit my current location'|trans }}{% endblock %}
{% block content -%}
<h1>{{ 'Edit my current location'|trans }}</h1>
{{ form_start(edit_form) }}
{{ form_row(edit_form.location) }}
<ul class="record_actions">
<li class="cancel">
<a href="{{ chill_return_path_or('chill_main_homepage') }}" class="btn btn-cancel">
{{ 'Cancel'|trans }}
</a>
</li>
<li>
{{ form_widget(edit_form.submit, { 'attr': { 'class': 'btn btn-edit' } } ) }}
</li>
</ul>
{{ form_end(edit_form) }}
{% endblock %}