cancel button
authorChristian Weiske <cweiske@cweiske.de>
Fri, 30 Mar 2012 05:49:41 +0000 (07:49 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Fri, 30 Mar 2012 05:49:41 +0000 (07:49 +0200)
data/templates/edit.htm

index 300b6cb..45650b6 100644 (file)
   {% include 'edit-file.htm' with {'file': file, 'fileid': fileid} %}
  {% endfor %}
 
- <div class="well" style="text-align: right">
-  <button class="btn btn-primary" type="submit">
-   <i class="icon-check icon-white"></i>
-   Save
-  </button>
+ <div class="well">
+  <div class="row-fluid">
+   <div class="span6">
+    <a class="btn" href="{{repo.getLink('display')}}">Cancel</a>
+   </div>
+   <div class="span6" style="text-align: right">
+    <button class="btn btn-primary" type="submit">
+     <i class="icon-check icon-white"></i>
+     Save
+    </button>
+   </div>
+  </div>
  </div>
 
 </form>