made the create button nice
This commit is contained in:
@@ -3,12 +3,27 @@
|
||||
<td>{{ $owner->timestamp_owner_since }}</td>
|
||||
@can('admin-only')
|
||||
<td>
|
||||
<button><a href="owners/{{ $owner->owner_transaction_id }}/edit">Edit</a></button>
|
||||
<form method="POST" action="owners/{{ $owner->owner_transaction_id }}">
|
||||
@method('DELETE')
|
||||
@csrf
|
||||
<button>Delete</button>
|
||||
</form>
|
||||
<div class="field is-grouped">
|
||||
<div class="control">
|
||||
<a class="button is-small is-outlined is-info is-light"
|
||||
href="owners/{{ $owner->owner_transaction_id }}/edit">
|
||||
<span class="icon is-small">
|
||||
<i class="fa-solid fa-pen-to-square"></i>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="control">
|
||||
<form method="POST" action="owners/{{ $owner->owner_transaction_id }}">
|
||||
@method('DELETE')
|
||||
@csrf
|
||||
<button class="button is-small is-outlined is-danger is-light" type="submit">
|
||||
<span class="icon is-small">
|
||||
<i class="fa-solid fa-trash"></i>
|
||||
</span>
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
@endcan
|
||||
</tr>
|
||||
</tr>
|
||||
|
Reference in New Issue
Block a user