| 
									
										
										
										
											2017-01-20 19:50:22 +01:00
										 |  |  | <tr data-count="{{ count }}" class="rule-trigger-holder">
 | 
					
						
							| 
									
										
										
										
											2016-01-14 16:41:15 +01:00
										 |  |  |     <td style="width:40px;">
 | 
					
						
							|  |  |  |         <a href="#" class="btn btn-danger btn-sm remove-trigger"><i class="fa fa-trash"></i></a>
 | 
					
						
							|  |  |  |     </td>
 | 
					
						
							|  |  |  |     <td style="width:30%;">
 | 
					
						
							| 
									
										
										
										
											2018-12-09 20:54:11 +01:00
										 |  |  |         <select name="triggers[{{ count }}][name]" class="form-control">
 | 
					
						
							| 
									
										
										
										
											2016-01-15 08:06:33 +01:00
										 |  |  |             {% for key,name in allRuleTriggers() %}
 | 
					
						
							| 
									
										
										
										
											2016-01-14 18:09:20 +01:00
										 |  |  |                 <option value="{{ key }}" label="{{ name }}"
 | 
					
						
							|  |  |  |                         {% if key == oldTrigger %}
 | 
					
						
							|  |  |  |                             selected
 | 
					
						
							|  |  |  |                         {% endif %}
 | 
					
						
							|  |  |  |                 >{{ name }}</option>
 | 
					
						
							| 
									
										
										
										
											2016-01-14 16:41:15 +01:00
										 |  |  |             {% endfor %}
 | 
					
						
							|  |  |  |         </select>
 | 
					
						
							|  |  |  |     </td>
 | 
					
						
							| 
									
										
										
										
											2018-07-05 05:44:49 +02:00
										 |  |  |     <td style="position: relative;">
 | 
					
						
							| 
									
										
										
										
											2016-01-14 18:57:52 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-12-09 20:54:11 +01:00
										 |  |  |         <input autocomplete="off" type="text" value="{{ oldValue }}" name="triggers[{{ count }}][value]" class="form-control">
 | 
					
						
							|  |  |  |         {% if errors.has('triggers.'~count~'.value') %}
 | 
					
						
							| 
									
										
										
										
											2016-01-15 23:12:52 +01:00
										 |  |  |             <p class="text-danger">
 | 
					
						
							| 
									
										
										
										
											2018-12-09 20:54:11 +01:00
										 |  |  |                 {{ errors.first('triggers.'~count~'.value') }}
 | 
					
						
							| 
									
										
										
										
											2016-01-15 23:12:52 +01:00
										 |  |  |             </p>
 | 
					
						
							| 
									
										
										
										
											2016-01-14 18:57:52 +01:00
										 |  |  |         {% endif %}
 | 
					
						
							| 
									
										
										
										
											2016-01-14 16:41:15 +01:00
										 |  |  |     </td>
 | 
					
						
							|  |  |  |     <td style="width:20%;">
 | 
					
						
							|  |  |  |         <div class="checkbox">
 | 
					
						
							|  |  |  |             <label>
 | 
					
						
							| 
									
										
										
										
											2018-12-09 20:54:11 +01:00
										 |  |  |                 <input type="checkbox" name="triggers[{{ count }}][stop_processing]" value="1"
 | 
					
						
							| 
									
										
										
										
											2016-01-14 18:09:20 +01:00
										 |  |  |                        {% if oldChecked %}checked{% endif %}
 | 
					
						
							|  |  |  |                 />
 | 
					
						
							| 
									
										
										
										
											2016-01-14 16:41:15 +01:00
										 |  |  |             </label>
 | 
					
						
							|  |  |  |         </div>
 | 
					
						
							|  |  |  |     </td>
 | 
					
						
							| 
									
										
										
										
											2016-01-28 21:50:20 +01:00
										 |  |  | </tr>
 |