mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	Code and tests for #1450
This commit is contained in:
		| @@ -3,13 +3,7 @@ | ||||
|         <a href="#" class="btn btn-danger btn-sm remove-action"><i class="fa fa-trash"></i></a> | ||||
|     </td> | ||||
|     <td style="width:30%;"> | ||||
|         {# | ||||
|         {% if errors.has('rule-action.'~count) %} | ||||
|             <span class="form-control-feedback"><i class="fa fa-fw fa-remove"></i></span> | ||||
|             <p class="text-danger">{{ errors.first('rule-action.'~count) }}</p> | ||||
|         {% endif %} | ||||
|         #} | ||||
|  | ||||
|         {# todo error when invalid name. #} | ||||
|         <select name="rule_actions[{{ count }}][name]" class="form-control"> | ||||
|             {% for key,name in allRuleActions() %} | ||||
|                 <option value="{{ key }}" label="{{ name }}" {% if key == oldAction %} selected{% endif %}>{{ name }}</option> | ||||
| @@ -20,13 +14,11 @@ | ||||
|  | ||||
|         <input autocomplete="off" type="text" value="{{ oldValue }}" name="rule_actions[{{ count }}][value]" | ||||
|                class="form-control"> | ||||
|         {# | ||||
|         {% if errors.has(('rule-action-value.'~count)) %} | ||||
|         {% if errors.has('rule_actions.'~count~'.value') %} | ||||
|             <p class="text-danger"> | ||||
|                 {{ errors.first('rule-action-value.'~count) }} | ||||
|                 {{ errors.first('rule_actions.'~count~'.value') }} | ||||
|             </p> | ||||
|         {% endif %} | ||||
|         #} | ||||
|     </td> | ||||
|     <td style="width:20%;"> | ||||
|         <div class="checkbox"> | ||||
|   | ||||
| @@ -23,13 +23,11 @@ | ||||
|     <td style="position: relative;"> | ||||
|  | ||||
|         <input autocomplete="off" type="text" value="{{ oldValue }}" name="rule_triggers[{{ count }}][value]" class="form-control"> | ||||
|         {# | ||||
|         {% if errors.has(('rule-trigger-value.'~count)) %} | ||||
|         {% if errors.has('rule_triggers.'~count~'.value') %} | ||||
|             <p class="text-danger"> | ||||
|                 {{ errors.first('rule-trigger-value.'~count) }} | ||||
|                 {{ errors.first('rule_triggers.'~count~'.value') }} | ||||
|             </p> | ||||
|         {% endif %} | ||||
|         #} | ||||
|     </td> | ||||
|     <td style="width:20%;"> | ||||
|         <div class="checkbox"> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user