aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-08-12 08:22:30 +0200
committerNicolas LÅ“uillet <nicolas.loeuillet@smile.fr>2015-08-12 09:52:36 +0200
commit053b9568b2e3d032720d405bc1c2b71eccb36714 (patch)
tree1bd4241ce05c42d924f0baf34a3d1872ef6a7a4f /src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig
parentfedaf005377e6d62ff0986f7f54afef3287a6451 (diff)
downloadwallabag-053b9568b2e3d032720d405bc1c2b71eccb36714.tar.gz
wallabag-053b9568b2e3d032720d405bc1c2b71eccb36714.tar.zst
wallabag-053b9568b2e3d032720d405bc1c2b71eccb36714.zip
add new post form in material header
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig
index 2b32c2f9..5a1f7001 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/layout.html.twig
@@ -58,7 +58,7 @@
58 </div> 58 </div>
59 <div class="input-field nav-panel-buttom"> 59 <div class="input-field nav-panel-buttom">
60 <ul> 60 <ul>
61 <li class="bold"><a class="waves-effect" href="{{ path('new_entry') }}" id="nav-btn-add"><i class="mdi-content-add"></i></a></li> 61 <li class="bold"><a class="waves-effect" href="{{ path('new') }}" id="nav-btn-add"><i class="mdi-content-add"></i></a></li>
62 <li><a class="waves-effect" href="javascript: void(null);" id="nav-btn-search"><i class="mdi-action-search"></i></a> 62 <li><a class="waves-effect" href="javascript: void(null);" id="nav-btn-search"><i class="mdi-action-search"></i></a>
63 </ul> 63 </ul>
64 </div> 64 </div>
@@ -69,6 +69,11 @@
69 <i class="mdi-navigation-close"></i> 69 <i class="mdi-navigation-close"></i>
70 </div> 70 </div>
71 </form> 71 </form>
72 <div class="input-field nav-panel-add" style="display: none">
73 {{ render(controller( "WallabagCoreBundle:Entry:addEntryForm" )) }}
74 <label for="add"><i class="mdi-content-add"></i></label>
75 <i class="mdi-navigation-close"></i>
76 </div>
72 <!--<form name="entry" method="post" action="{{ path('new_entry') }}"> 77 <!--<form name="entry" method="post" action="{{ path('new_entry') }}">
73 <div class="input-field nav-panel-add" style="display: none"> 78 <div class="input-field nav-panel-add" style="display: none">
74 <input id="add entry_url" name="entry[url]" type="search" required placeholder="{% trans %}Enter your link here{% endtrans %}"> 79 <input id="add entry_url" name="entry[url]" type="search" required placeholder="{% trans %}Enter your link here{% endtrans %}">
@@ -113,4 +118,4 @@
113 </div> 118 </div>
114 </div> 119 </div>
115 </footer> 120 </footer>
116{% endblock %} \ No newline at end of file 121{% endblock %}