]> git.immae.eu Git - github/wallabag/wallabag.git/blob - src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/edit.html.twig
Many corrections material theme
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / themes / material / Entry / edit.html.twig
1 {% extends "WallabagCoreBundle::layout.html.twig" %}
2
3 {% block title %}{% trans %}Edit an entry{% endtrans %}{% endblock %}
4
5 {% block content %}
6
7 <div class="row">
8 <div class="col s12">
9 <div class="card-panel">
10
11 <form name="entry" method="post" action="">
12 <div class="card-content">
13
14 {% if form_errors(form) %}
15 <span class="black-text">{{ form_errors(form) }}</span>
16 {% endif %}
17
18 {% if form_errors(form.title) %}
19 <span class="black-text">{{ form_errors(form.title) }}</span>
20 {% endif %}
21
22 <div class="input-field s12">
23 {{ form_label(form.title) }}
24 {{ form_widget(form.title) }}
25 </div>
26
27 <div class="input-field s12">
28 {{ form_widget(form.is_public) }}
29 {{ form_label(form.is_public) }}
30 </div>
31 <br>
32 <button class="btn waves-effect waves-light" type="submit" name="entry[save]">
33 {% trans %}Save{% endtrans %}
34 <i class="mdi-content-send right"></i>
35 </button>
36 </div>
37 <div class="hidden">{{ form_rest(form) }}</div>
38 </form>
39
40 </div>
41 </div>
42 </div>
43
44 {% endblock %}