]>
Commit | Line | Data |
---|---|---|
1 | {% extends "WallabagCoreBundle::layout.html.twig" %} | |
2 | ||
3 | {% block title %}{{ 'entry.edit.page_title'|trans }}{% 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 | {% if form_errors(form) %} | |
14 | <span class="black-text">{{ form_errors(form) }}</span> | |
15 | {% endif %} | |
16 | ||
17 | {% if form_errors(form.title) %} | |
18 | <span class="black-text">{{ form_errors(form.title) }}</span> | |
19 | {% endif %} | |
20 | ||
21 | <div class="input-field s12"> | |
22 | {{ form_label(form.title) }} | |
23 | {{ form_widget(form.title) }} | |
24 | </div> | |
25 | ||
26 | <div class="input-field s12"> | |
27 | {{ form_label(form.url) }} | |
28 | {{ form_widget(form.url) }} | |
29 | </div> | |
30 | ||
31 | <div class="input-field s12"> | |
32 | {{ form_label(form.origin_url) }} | |
33 | {{ form_widget(form.origin_url) }} | |
34 | </div> | |
35 | <br> | |
36 | ||
37 | {{ form_widget(form.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }} | |
38 | </div> | |
39 | {{ form_rest(form) }} | |
40 | </form> | |
41 | ||
42 | </div> | |
43 | </div> | |
44 | </div> | |
45 | ||
46 | {% endblock %} |