0byt3m1n1
Path:
/
home
/
mgatv524
/
www
/
fmd
/
modules
/
[
Home
]
File: datasetview-form-add.twig
{# /* * Spring Signage Ltd - http://www.springsignage.com * Copyright (C) 2015 Spring Signage Ltd * (${FILE_NAME}) */ #} {% extends "form-base.twig" %} {% import "forms.twig" as forms %} {% block formTitle %} {% trans "Add DataSet View" %} {% endblock %} {% block formButtons %} {% trans "Cancel" %}, XiboDialogClose() {% trans "Save" %}, $("#dataSetAddForm").submit() {% endblock %} {% block formHtml %} <div class="row"> <div class="col-md-12"> <form id="dataSetAddForm" class="XiboForm form-horizontal" method="post" action="{{ urlFor("module.widget.add", {type: module.widget.type, id: playlist.playlistId}) }}" data-next-form-url="{{ urlFor("module.widget.edit.form", {type: module.widget.type}) }}"> {% set title %}{% trans "DataSet" %}{% endset %} {% set helpText %}{% trans "Please select the DataSet to use as a source of data for this view." %}{% endset %} {{ forms.dropdown("dataSetId", "single", title, "", module.dataSets(), "dataSetId", "dataSet", helpText, "dataset-fields") }} </form> </div> </div> {% endblock %}