Fix title in templates
This commit is contained in:
parent
31cfeca93a
commit
28a2706525
@ -1,6 +1,6 @@
|
||||
{% extends 'base/single.column.html.twig' %}
|
||||
|
||||
{% set title %}Edit {{ snip }}{% endset %}
|
||||
{% set title = 'Snip edit ' ~ snip %}
|
||||
|
||||
{% block body %}
|
||||
{% if snip.id %}
|
||||
|
@ -1,5 +1,7 @@
|
||||
{% extends 'base/single.column.html.twig' %}
|
||||
|
||||
{% set title = 'Snip index' %}
|
||||
|
||||
{% block body %}
|
||||
<a class="btn btn-success" href="{{ path('snip_new') }}">
|
||||
<i class="fa fa-plus"></i> Add
|
||||
|
@ -1,6 +1,6 @@
|
||||
{% extends 'base/single.column.html.twig' %}
|
||||
|
||||
{% block title %}Snip {{ snip }}{% endblock %}
|
||||
{% set title = 'Snip ' ~ snip %}
|
||||
|
||||
{% block body %}
|
||||
<a href="{{ path('snip_single', {snip: snip.id}) }}" class="btn btn-primary">
|
||||
|
Loading…
x
Reference in New Issue
Block a user