Implémentation de la suppression des photos dans l'onglet de visualisation.
[Portfolio.git] / skins / portfolio_view.pt
index 3028e15..5535fa8 100644 (file)
                      infos batchInfos/infos;
                      features batchInfos/features"
          tal:omit-tag="">
                      infos batchInfos/infos;
                      features batchInfos/features"
          tal:omit-tag="">
-      <div metal:use-macro="here/photo_layout_macros/macros/grid">
-        affichage grille
-      </div>
+      <form tal:attributes="action string:${here/absolute_url}/portfolio_edit_form" method="post">
+        <div id="image_toolbar" class="image_toolbar">
+          <input type="image" width="17" height="27" alt="delete" title="delete"
+                 name="delete"
+                 tal:attributes="src string:$portal_url/trash_btn.gif"
+                 i18n:attributes="alt;title"/>
+          <br/>
+        </div>
+
+        <div metal:use-macro="here/photo_layout_macros/macros/grid">
+          affichage grille
+        </div>
+      </form>
     </div>
     <br clear="all"/>
     </div>
     </div>
     <br clear="all"/>
     </div>