/modules/mod_admin_predicate/templates/_action_dialog_predicate_delete.tpl

http://github.com/zotonic/zotonic · Smarty Template · 9 lines · 7 code · 2 blank · 0 comment · 0 complexity · 172b2acfe28ee8694b92da3d9c5bd75f MD5 · raw file

  1. {# Used by the action dialog_predicate_delete #}
  2. <p>{_ Are you sure you want to delete the predicate _} “{{ m.rsc[id].title }}”?</p>
  3. <p>{_ This can't be undone. The predicate will be lost forever. _}</p>
  4. <div class="modal-footer">
  5. {% button class="btn btn-default" text="Cancel" action={dialog_close} tag="a" %}
  6. {% button class="btn btn-primary" text="Delete" action={predicate_delete id=id on_success=on_success} action={dialog_close} %}
  7. </div>