]> git.parisson.com Git - telemeta.git/commitdiff
update edit forms
authoryomguy <yomguy@parisson.com>
Fri, 18 Feb 2011 09:21:56 +0000 (10:21 +0100)
committeryomguy <yomguy@parisson.com>
Fri, 18 Feb 2011 09:21:56 +0000 (10:21 +0100)
telemeta/templates/telemeta_default/collection_detail_edit.html
telemeta/templates/telemeta_default/mediaitem_detail_edit.html

index de8daf1d005a3951d9c403204ba50703753da41b..3313bedcef28f87e5d10ae569933947649a1a9d0 100644 (file)
 {% if collection %}
 
 {% block submenu %}
-    <div><a href="{% url telemeta-collection-dublincore collection.public_id %}">Dublin Core</a></div>
+    <div><a href="{% url telemeta-collection-dublincore collection.public_id %}">Dublin Core</a>
+    <a href="{% url telemeta-collection-detail collection.public_id %}">
+     <img src="/images/edit_cancel.png"></a>
+    </div>
 {% endblock %}
 
 {% block content %}
         <table>
              {{ form }}
         </table>
-        <p align="center">
+        <div align="center">
+         <a href="{% url telemeta-collection-detail collection.public_id %}">
+          <img src="/images/edit_cancel.png"></a>
          <input type="image" src="/images/save_changes.png" value="save">
-        </p>
+        </div>
         </form>
         </div>
 {% endblock %}
index e663f4131575dbd214e145912a665dfba48ebe53..7e87d67fd1f55771f26a2ec11503dacf585f91a7 100644 (file)
 {% block submenu %}
     <div>
     <a href="{% url telemeta-item-dublincore item.public_id %}">Dublin Core</a>
+    <a href="{% url telemeta-item-detail item.public_id %}">
+      <img src="/images/edit_cancel.png"></a>
     </div>
+    
 {% endblock %}
 
 {% block content %}
    <table>
      {{ form }}
    </table>
-   <p align="center">
+   <div align="center">
+    <a href="{% url telemeta-item-detail item.public_id %}">
+     <img src="/images/edit_cancel.png"></a>
     <input type="image" src="/images/save_changes.png" value="save">
-   </p>
+   </div>
  </form>
 </div>