Add action modifier to SASS for forms/buttons
MODIFY
resources/assets/sass/components/input.scss
resources/assets/sass/components/input.scss
@@ -57,3 +57,14 @@ button {
cursor: pointer;
}
}
+
+form.action {
+ display: inline-block;
+
+ button {
+ padding: 0;
+ display: inline-block;
+ background: none;
+ color: $colors-primary;
+ }
+}

MODIFY
resources/views/tags/index.blade.php
resources/views/tags/index.blade.php
<li class="row">
<div class="column">{{ $tag->name }}</div>
<div class="column">
- <form method="POST" action="/tags/{{ $tag->id }}">
+ <form class="action" method="POST" action="/tags/{{ $tag->id }}">
{{ method_field('delete') }}
{{ csrf_field() }}
<button>@lang('actions.delete')</button>

Add action modifier to SASS for forms/buttons