mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-07-06 14:13:37 -07:00
33 lines
1.2 KiB
PHP
33 lines
1.2 KiB
PHP
<tr data-count="{{ $count }}" class="rule-action-holder">
|
|
<td class="forty-px">
|
|
<a href="#" class="btn btn-danger btn-sm remove-action"><span class="bi bi-trash"></span></a>
|
|
</td>
|
|
<td class="thirty">
|
|
{{-- TODO error when invalid name --}}
|
|
<select name="actions[{{ $count }}][type]" class="form-control">
|
|
@foreach(all_rule_actions() as $key => $type)
|
|
<option value="{{ $key }}" label="{{ $type }}" @if($key === $oldAction) selected @endif>{{ $type }}</option>
|
|
@endforeach
|
|
</select>
|
|
</td>
|
|
<td class="position-relative">
|
|
|
|
<input autocomplete="off" type="text" value="{{ $oldValue }}" name="actions[{{ $count }}][value]"
|
|
class="form-control">
|
|
@if($errors->has('actions.' . $count . '.value'))
|
|
<p class="text-danger">
|
|
{{ $errors->first('actions.' . $count . '.value') }}
|
|
</p>
|
|
@endif
|
|
</td>
|
|
<td class="twenty">
|
|
<div class="checkbox">
|
|
<label>
|
|
<input type="checkbox" name="actions[{{ $count }}][stop_processing]" value="1"
|
|
@if($oldChecked) checked @endif
|
|
/>
|
|
</label>
|
|
</div>
|
|
</td>
|
|
</tr>
|