mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			35 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Twig
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Twig
		
	
	
	
	
	
| <tr data-count="{{ count }}" class="rule-trigger-holder">
 | |
|     <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%;">
 | |
|         <select name="triggers[{{ count }}][type]" class="form-control">
 | |
|             {% for key,type in triggers %}
 | |
|                 <option value="{{ key }}" label="{{ type }}"
 | |
|                         {% if key == oldTrigger %}
 | |
|                             selected
 | |
|                         {% endif %}
 | |
|                 >{{ type }}</option>
 | |
|             {% endfor %}
 | |
|         </select>
 | |
|     </td>
 | |
|     <td>
 | |
|         <input autocomplete="off" type="text" value="{{ oldValue }}" name="triggers[{{ count }}][value]"
 | |
|                class="form-control">
 | |
|         {% if errors.has('triggers.'~count~'.value') %}
 | |
|             <p class="text-danger">
 | |
|                 {{ errors.first('triggers.'~count~'.value') }}
 | |
|             </p>
 | |
|         {% endif %}
 | |
|     </td>
 | |
|     <td style="width:20%;">
 | |
|         <div class="checkbox">
 | |
|             <label>
 | |
|                 <input type="checkbox" name="triggers[{{ count }}][stop_processing]" value="1"
 | |
|                        {% if oldChecked %}checked{% endif %}
 | |
|                 />
 | |
|             </label>
 | |
|         </div>
 | |
|     </td>
 | |
| </tr>
 |