~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to views/dataset-data-form-edit.twig

  • Committer: Dan Garner
  • Date: 2016-02-04 14:13:07 UTC
  • mto: (454.4.101)
  • mto: This revision was merged to the branch mainline in revision 483.
  • Revision ID: git-v1:f9078f575b16a62a51e2f3d7bc15581058fb0747
Problem with DataSet form putting a 0 in library image references (should be empty)

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
        <div class="col-md-12">
28
28
            <form id="dataSetEditData" class="XiboForm form-horizontal" method="put" action="{{ urlFor("dataSet.data.edit", {id: dataSet.dataSetId, rowId: row.id}) }}">
29
29
                {% for col in dataSet.getColumn() %}
30
 
                    {% if col.dataSetColumnTypeId == 1 or col.dataSetColumnTypeId == 3 %}
 
30
                    {% if col.dataSetColumnTypeId == 1 %}
31
31
                        {% set fieldId = "dataSetColumnId_#{col.dataSetColumnId}" %}
32
32
                        {% set heading = attribute(row, col.heading) %}
33
33