Updated back and submit buttons in reseller and shared create to use new icon button components

This commit is contained in:
cp6 2024-12-09 16:53:15 +11:00
parent 37032e0344
commit d180779133
2 changed files with 8 additions and 14 deletions

View file

@ -8,10 +8,10 @@
<div class="card-body">
<h4 class="mb-3">Reseller hosting information</h4>
<x-auth-validation-errors></x-auth-validation-errors>
<a href="{{ route('reseller.index') }}"
class="btn btn-primary py-0 px-4 mb-4">
<x-back-button>
<x-slot name="href">{{ route('reseller.index') }}</x-slot>
Go back
</a>
</x-back-button>
<form action="{{ route('reseller.store') }}" method="POST">
@csrf
<div class="row">
@ -209,10 +209,7 @@
</div>
</div>
<div>
<button type="submit"
class="btn btn-success py-0 px-4 mt-2">
Insert Reseller hosting
</button>
<x-submit-button>Insert Reseller hosting</x-submit-button>
</div>
</form>
</div>

View file

@ -8,10 +8,10 @@
<div class="card-body">
<h4 class="mb-3">Shared hosting information</h4>
<x-auth-validation-errors></x-auth-validation-errors>
<a href="{{ route('shared.index') }}"
class="btn btn-primary py-0 px-4 mb-4">
<x-back-button>
<x-slot name="href">{{ route('shared.index') }}</x-slot>
Go back
</a>
</x-back-button>
<form action="{{ route('shared.store') }}" method="POST">
@csrf
<div class="row">
@ -199,10 +199,7 @@
</div>
</div>
<div>
<button type="submit"
class="btn btn-success py-0 px-4 mt-2">
Insert Shared hosting
</button>
<x-submit-button>Insert Shared hosting</x-submit-button>
</div>
</form>
</div>