git.cweiske.de
/
phorkie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
5c31442
)
cancel button
author
Christian Weiske
<cweiske@cweiske.de>
Fri, 30 Mar 2012 05:49:41 +0000
(07:49 +0200)
committer
Christian Weiske
<cweiske@cweiske.de>
Fri, 30 Mar 2012 05:49:41 +0000
(07:49 +0200)
data/templates/edit.htm
patch
|
blob
|
history
diff --git
a/data/templates/edit.htm
b/data/templates/edit.htm
index 300b6cbc9a2d3481a6b1f6f72c368098136eb864..45650b6257b03fff8000fd4720f18a1ce9613b5c 100644
(file)
--- a/
data/templates/edit.htm
+++ b/
data/templates/edit.htm
@@
-12,11
+12,18
@@
{% include 'edit-file.htm' with {'file': file, 'fileid': fileid} %}
{% endfor %}
{% 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>
</div>
</form>