aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/edit.html.twig
diff options
context:
space:
mode:
authorAlexandr Danilov <bitbucket@modos189.ru>2015-08-06 04:22:45 +0300
committerAlexandr Danilov <bitbucket@modos189.ru>2015-08-06 04:22:45 +0300
commitb17874a7d58e1ae853935a564b205566efd9ed74 (patch)
tree2970236f10fcf9c4cec6cce5dfa49dfa8d785ce5 /src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/edit.html.twig
parent8d9b8912aff9ccfa85241a1d64eb4b1366ed1b43 (diff)
downloadwallabag-b17874a7d58e1ae853935a564b205566efd9ed74.tar.gz
wallabag-b17874a7d58e1ae853935a564b205566efd9ed74.tar.zst
wallabag-b17874a7d58e1ae853935a564b205566efd9ed74.zip
Many corrections material theme
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/edit.html.twig')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/edit.html.twig44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/edit.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/edit.html.twig
new file mode 100644
index 00000000..c002c4c3
--- /dev/null
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/edit.html.twig
@@ -0,0 +1,44 @@
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 %}