~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to views/forms.twig

  • Committer: Dan Garner
  • Date: 2018-05-21 14:58:11 UTC
  • mfrom: (644.1.8)
  • mto: (614.1.6)
  • mto: This revision was merged to the branch mainline in revision 648.
  • Revision ID: git-v1:e7961b0ebe68a0c0bc5dd7b3abca007138b2cadd
Merge branch 'bugfix/1.8.10-pack1' into feature/r-graph

Show diffs side-by-side

added added

removed removed

Lines of Context:
143
143
    </div>
144
144
{% endmacro %}
145
145
 
146
 
{% macro dropdown(name, type, title, value, options, optionId, optionValue, helpText, groupClass, validation, accessKey, callBack, dataAttributes, optionGroups, baseUrl, optionImageValue) %}
 
146
{% macro dropdown(name, type, title, value, options, optionId, optionValue, helpText, groupClass, validation, accessKey, callBack, dataAttributes, optionGroups, optionImageValue) %}
147
147
    <div class="form-group {{ groupClass }}">
148
148
        <label class="col-sm-2 control-label" for="{{ name }}" title="{{ helpText }}" accesskey="{{ accessKey }}">{{ title }}</label>
149
149
        <div class="col-sm-10">
191
191
 
192
192
                    <option value="{{ itemOptionId }}" {% if selected %}selected{% endif %}
193
193
                            {% if itemOptionImageValue %}
194
 
                                data-content="<span class='media'><span class='media-left'><img style='max-width: 100px' src='{{ baseUrl }}{{ itemOptionImageValue }}' /></span> <span class='media-body'>{{ itemOptionValue }}</span></span>"
 
194
                                data-content="<span class='media'><span class='media-left'><img style='max-width: 100px' src='{{ itemOptionImageValue }}' /></span> <span class='media-body'>{{ itemOptionValue }}</span></span>"
195
195
                            {% endif %}
196
196
                    >{{ itemOptionValue }}</option>
197
197
                {% endfor %}