fix homepage content cols

This commit is contained in:
Mathieu Jaumotte 2021-03-21 00:01:48 +01:00
parent 2916babe1c
commit b327a3fbfa
2 changed files with 9 additions and 13 deletions

View File

@ -138,7 +138,6 @@
{% endfor %} {% endfor %}
{% block content %} {% block content %}
<div class="row justify-content-center">
<div class="col-8 mt-5 flash_message"> <div class="col-8 mt-5 flash_message">
<h2>{{ 'Search'|trans }}</h2> <h2>{{ 'Search'|trans }}</h2>
@ -149,11 +148,8 @@
</center> </center>
</form> </form>
</div> </div>
</div>
<div class="homepage_widget">
{{ chill_widget('homepage', {} ) }} {{ chill_widget('homepage', {} ) }}
</div>
{% endblock %} {% endblock %}
</div> </div>
</div> </div>

View File

@ -1,5 +1,5 @@
{% if is_granted('CHILL_PERSON_CREATE') %} {% if is_granted('CHILL_PERSON_CREATE') %}
<div class="grid-8 mb-5 text-center"> <div class="col-8 mb-5 text-center homepage_widget">
<a href="{{ path('chill_person_new') }}"> <a href="{{ path('chill_person_new') }}">
<div class="btn btn-lg btn-primary mt-4" style="float: inherit;"> <div class="btn btn-lg btn-primary mt-4" style="float: inherit;">
{{ 'Add a person'|trans }} {{ 'Add a person'|trans }}