diff options
Diffstat (limited to 'view/tpl/edpost_head.tpl')
-rwxr-xr-x | view/tpl/edpost_head.tpl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/view/tpl/edpost_head.tpl b/view/tpl/edpost_head.tpl index b2ab5db4e..4f39137ab 100755 --- a/view/tpl/edpost_head.tpl +++ b/view/tpl/edpost_head.tpl @@ -1,10 +1,13 @@ <div class="generic-content-wrapper"> <div class="section-title-wrapper"> - {{if $delete}} <div class="pull-right"> + {{if $cancel}} + <button id="dbtn-cancel" class="btn btn-warning btn-sm" onclick="itemCancel(); return false;">{{$cancel}}</button> + {{/if}} + {{if $delete}} <a href="item/drop/{{$id}}" id="delete-btn" class="btn btn-sm btn-danger" onclick="return confirmDelete();"><i class="fa fa-trash-o"></i> {{$delete}}</a> + {{/if}} </div> - {{/if}} <h2>{{$title}}</h2> <div class="clear"></div> </div> |