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

View file

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