~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to views/notification-form-delete.twig

  • Committer: Dan Garner
  • Date: 2015-08-11 09:29:02 UTC
  • mto: This revision was merged to the branch mainline in revision 453.
  • Revision ID: git-v1:a86fb4369b7395c13367577d23b14c0ab4528c1a
Transitions fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{#
2
 
/*
3
 
 * Spring Signage Ltd - http://www.springsignage.com
4
 
 * Copyright (C) 2015 Spring Signage Ltd
5
 
 * (${FILE_NAME})
6
 
 */
7
 
#}
8
 
 
9
 
{% extends "form-base.twig" %}
10
 
{% import "forms.twig" as forms %}
11
 
 
12
 
{% block formTitle %}
13
 
    {% trans "Delete Notification" %}
14
 
{% endblock %}
15
 
 
16
 
{% block formButtons %}
17
 
    {% trans "Help" %}, XiboHelpRender("{{ help }}")
18
 
    {% trans "Cancel" %}, XiboDialogClose()
19
 
    {% trans "Yes" %}, $("#notificationDeleteForm").submit()
20
 
{% endblock %}
21
 
 
22
 
{% block formHtml %}
23
 
    <div class="row">
24
 
        <div class="col-md-12">
25
 
            <form id="notificationDeleteForm" class="XiboForm form-horizontal" method="delete" action="{{ urlFor("notification.delete", {"id": notification.notificationId}) }}">
26
 
                {% set message %}{% trans "Are you sure you want to delete this notification? This cannot be undone" %}{% endset %}
27
 
                {{ forms.message(message) }}
28
 
            </form>
29
 
        </div>
30
 
    </div>
31
 
{% endblock %}
 
 
b'\\ No newline at end of file'