diff options
Diffstat (limited to 'view/tpl/generic_modal.tpl')
-rw-r--r-- | view/tpl/generic_modal.tpl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/view/tpl/generic_modal.tpl b/view/tpl/generic_modal.tpl index 3f7326e71..2bbea42b3 100644 --- a/view/tpl/generic_modal.tpl +++ b/view/tpl/generic_modal.tpl @@ -8,8 +8,10 @@ <div class="modal-body" id="generic-modal-body-{{$id}}"></div> <div class="modal-footer"> <button id="generic-modal-cancel-{{$id}}" type="button" class="btn btn-default" data-dismiss="modal">{{$cancel}}</button> + {{if $ok}} <button id="generic-modal-ok-{{$id}}" type="button" class="btn btn-primary">{{$ok}}</button> + {{/if}} </div> </div><!-- /.modal-content --> </div><!-- /.modal-dialog --> -</div><!-- /.modal -->
\ No newline at end of file +</div><!-- /.modal --> |