adapt AddAddress modal to bootstrap: position, responsive, form

This commit is contained in:
2021-07-14 13:36:49 +02:00
parent 50f3ec9064
commit 80eb5519bc
13 changed files with 217 additions and 206 deletions

View File

@@ -110,8 +110,8 @@
<ul class="record_actions sticky-form-buttons">
<li class="cancel">
<a href="{{ path('chill_person_view', { 'person_id' : person.id } ) }}" class="btn btn-cancel">
{{ 'Back to the person details'|trans }}
</a>
{{ 'Back to the person details'|trans }}
</a>
</li>
<li>
<a class="btn btn-create"

View File

@@ -14,13 +14,17 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
#}
{% extends "@ChillPerson/Person/layout.html.twig" %}
{% extends "@ChillPerson/Person/layout.html.twig" %}
{% set activeRouteKey = '' %}
{% block title %}{{ 'New address for %name%'|trans({ '%name%': person.firstName|capitalize ~ ' ' ~ person.lastName } )|capitalize }}{% endblock %}
{% block personcontent %}
<div class="address-new">
<div class="row justify-content-center">
<div class="col-md-10">
{% block content %}
<h1>{{ block('title') }}</h1>
@@ -40,6 +44,8 @@
{{ encore_entry_script_tags('vue_address') }}
{% endblock %}
</div>
</div>
</div>
{% endblock personcontent %}