~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to views/displayprofile-form-add.twig

  • Committer: Dan Garner
  • Date: 2016-02-12 10:41:25 UTC
  • mto: (454.4.130)
  • mto: This revision was merged to the branch mainline in revision 484.
  • Revision ID: git-v1:ca673f8ea522eac5f311ed779b0fbfeb35a0e4dd
Handle duration changes in XLF generation. Fixed region option factory.
xibosignage/xibo#721

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
{% block formHtml %}
26
26
    <div class="row">
27
27
        <div class="col-md-12">
28
 
            <form id="displayProfileAddForm" class="XiboForm form-horizontal" method="post" action="{{ urlFor("displayProfile.add") }}"
29
 
                  data-next-form-url="{{ urlFor("displayProfile.edit.form") }}">
 
28
            <form id="displayProfileAddForm" class="XiboForm form-horizontal" method="post" action="{{ urlFor("displayProfile.add") }}">
30
29
                {% set title %}{% trans "Name" %}{% endset %}
31
30
                {% set helpText %}{% trans "The Name for this Display Profile" %}{% endset %}
32
31
                {{ forms.input("name", title, "", helpText,"","required") }}
35
34
                {% set helpText %}{% trans "What type of display client is this profile intended for?" %}{% endset %}
36
35
                {% set windows %}{% trans "Windows" %}{% endset %}
37
36
                {% set android %}{% trans "Android" %}{% endset %}
38
 
                {% set lg %}{% trans "LG" %}{% endset %}
39
37
                {% set options = [
40
 
                { typeid: "android", type: android },
41
 
                { typeid: "lg", type: lg },
42
 
                { typeid: "windows", type: windows }
 
38
                { typeid: "windows", type: windows },
 
39
                { typeid: "android", type: android }
43
40
                ] %}
44
41
                {{ forms.dropdown("type", "single", title,"", options, "typeid","type", helpText) }} 
45
42