Cleanup snip templates
This commit is contained in:
parent
a35991f955
commit
6442f96b9c
@ -2,11 +2,5 @@
|
||||
|
||||
{% block body %}
|
||||
<h2>{{ snip }}</h2>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
{{ form(form) }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ form(form) }}
|
||||
{% endblock %}
|
@ -1,21 +1,13 @@
|
||||
{% extends 'base/base.html.twig' %}
|
||||
|
||||
{% block body %}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h1>Snippets</h1>
|
||||
</div>
|
||||
</div>
|
||||
<a class="btn btn-primary" href="{{ path('snip_new') }}">Create a new Snip</a>
|
||||
<div class="row">
|
||||
<div class="list-group">
|
||||
{% for snip in snips %}
|
||||
<a class="list-group-item" href="{{ path('snip_edit', {snip: snip.id}) }}">
|
||||
{{ snip }}
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
<h1>Snippets</h1>
|
||||
<a class="btn btn-primary" href="{{ path('snip_new') }}">Create a new Snip</a>
|
||||
<div class="list-group">
|
||||
{% for snip in snips %}
|
||||
<a class="list-group-item" href="{{ path('snip_edit', {snip: snip.id}) }}">
|
||||
{{ snip }}
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endblock %}
|
@ -1,11 +1,5 @@
|
||||
{% extends 'base/base.html.twig' %}
|
||||
|
||||
{% block body %}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<h1>{{ snip }}</h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h1>{{ snip }}</h1>
|
||||
{% endblock %}
|
Loading…
Reference in New Issue
Block a user