| 
									
										
										
										
											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-21 09:01:21 +01:00
										 |  |  |         <select name="triggers[{{ count }}][type]" class="form-control">
 | 
					
						
							| 
									
										
										
										
											2020-08-26 20:18:27 +02:00
										 |  |  |             {% for key,type in triggers %}
 | 
					
						
							| 
									
										
										
										
											2018-12-21 09:01:21 +01:00
										 |  |  |                 <option value="{{ key }}" label="{{ type }}"
 | 
					
						
							| 
									
										
										
										
											2016-01-14 18:09:20 +01:00
										 |  |  |                         {% if key == oldTrigger %}
 | 
					
						
							|  |  |  |                             selected
 | 
					
						
							|  |  |  |                         {% endif %}
 | 
					
						
							| 
									
										
										
										
											2018-12-21 09:01:21 +01:00
										 |  |  |                 >{{ type }}</option>
 | 
					
						
							| 
									
										
										
										
											2016-01-14 16:41:15 +01:00
										 |  |  |             {% endfor %}
 | 
					
						
							|  |  |  |         </select>
 | 
					
						
							|  |  |  |     </td>
 | 
					
						
							| 
									
										
										
										
											2020-10-03 15:08:24 +02:00
										 |  |  |     <td>
 | 
					
						
							|  |  |  |         <input autocomplete="off" type="text" value="{{ oldValue }}" name="triggers[{{ count }}][value]"
 | 
					
						
							|  |  |  |                class="form-control">
 | 
					
						
							| 
									
										
										
										
											2018-12-09 20:54:11 +01:00
										 |  |  |         {% 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>
 |