aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new.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/new.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/new.html.twig')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new.html.twig40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new.html.twig
new file mode 100644
index 00000000..cac9a96b
--- /dev/null
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new.html.twig
@@ -0,0 +1,40 @@
1{% extends "WallabagCoreBundle::layout.html.twig" %}
2
3{% block title %}{% trans %}Save new entry{% endtrans %}{% endblock %}
4
5{% block content %}
6 <div class="row">
7 <div class="col s12">
8 <div class="card-panel">
9
10 <form name="entry" method="post" action="">
11 <div class="card-content">
12
13 {% if form_errors(form) %}
14 <span class="black-text">{{ form_errors(form) }}</span>
15 {% endif %}
16
17 {% if form_errors(form.url) %}
18 <span class="black-text">{{ form_errors(form.url) }}</span>
19 {% endif %}
20
21 <div class="input-field s12">
22 {{ form_label(form.url) }}
23 {{ form_widget(form.url) }}
24 </div>
25
26 <button class="btn waves-effect waves-light" type="submit" name="entry[save]">
27 {% trans %}Save{% endtrans %}
28 <i class="mdi-content-send right"></i>
29 </button>
30 </div>
31 <div class="hidden">{{ form_rest(form) }}</div>
32 </form>
33
34
35 {{ form(form) }}
36
37 </div>
38 </div>
39 </div>
40{% endblock %}