Skip to content

Commit

Permalink
feature #1220 Add title block in list view (Pierstoval)
Browse files Browse the repository at this point in the history
This PR was squashed before being merged into the master branch (closes #1220).

Discussion
----------

Add title block in list view

Easier override when you want to change only the title on a list page

Commits
-------

29b4e58 Add title block in list view
  • Loading branch information
javiereguiluz committed Jul 5, 2016
2 parents 2e66ee4 + 29b4e58 commit bf358f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Resources/views/default/list.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@
{% block content_header %}
<div class="row">
<div class="col-sm-5">
<h1 class="title">{{ _content_title }}</h1>
{% block content_title_wrapper %}
<h1 class="title">{{ _content_title }}</h1>
{% endblock %}
</div>

<div class="col-sm-7">
Expand Down

0 comments on commit bf358f3

Please sign in to comment.