This isn't really working.

This commit is contained in:
James Cole
2016-01-14 18:09:20 +01:00
parent 5b1d9e1a0d
commit cd60b852a1
5 changed files with 139 additions and 8 deletions

View File

@@ -41,6 +41,10 @@
<div class="box-header with-border">
<h3 class="box-title">{{ 'rule_triggers'|_ }}</h3>
</div>
<!-- display any error -->
{% if errors.has('rule-trigger.1') %}
{{ errors.first('rule-trigger.1') }}
{% endif %}
<div class="box-body rule-trigger-box">
<table class="table table-condensed table-bordered table-striped">
<thead>
@@ -51,6 +55,9 @@
</tr>
</thead>
<tbody class="rule-trigger-tbody">
{% for trigger in oldTriggers %}
{{ trigger|raw }}
{% endfor %}
</tbody>
</table>
@@ -80,6 +87,7 @@
</tr>
</thead>
<tbody class="rule-action-tbody">
</tbody>
</table>
@@ -93,7 +101,7 @@
</div>
<div class="row">
<div class="col-lg-6 col-lg-offset-6 col-md-offset-6 col-md-6 col-sm-12">
<div class="col-lg-12 col-md-12 col-sm-12">
<!-- panel for options -->
<div class="box">
<div class="box-header with-border">
@@ -116,5 +124,9 @@
{% endblock %}
{% block scripts %}
<script type="text/javascript" src="js/rules/create-edit.js"></script>
<script type="text/javascript">
var triggerCount = {{ triggerCount }};
var actionCount = {{ actionCount }};
</script>
<script type="text/javascript" src="js/rules/edit.js"></script>
{% endblock %}