]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Merge pull request #1879 from wallabag/v2-tag-field-position 1049/head
authorJeremy Benoist <j0k3r@users.noreply.github.com>
Fri, 8 Apr 2016 11:51:20 +0000 (13:51 +0200)
committerJeremy Benoist <j0k3r@users.noreply.github.com>
Fri, 8 Apr 2016 11:51:20 +0000 (13:51 +0200)
Move tag form in Material theme

src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig

index 032d2d9b9b6278d3ce08a8cd3a253ada036f9b90..6643569946c1c4bdbcde82351b578f82d4e8fe90 100644 (file)
                 {% endfor %}
             </div>
 
-            {% if entry.previewPicture is not null %}
-                <div><img class="preview" src="{{ entry.previewPicture }}" alt="{{ entry.title|raw }}" /></div>
-            {% endif %}
-
             <div class="input-field nav-panel-add-tag" style="display: none">
                 {{ render(controller( "WallabagCoreBundle:Tag:addTagForm", { 'id': entry.id } )) }}
             </div>
 
+            {% if entry.previewPicture is not null %}
+                <div><img class="preview" src="{{ entry.previewPicture }}" alt="{{ entry.title|raw }}" /></div>
+            {% endif %}
+
         </aside>
         <article>
             {{ entry.content | raw }}