1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

Add basic form for contact information in billing portal

This commit is contained in:
Benjamin Beganović 2024-03-14 16:18:49 +01:00
parent 863a5594f5
commit e97bc44537

View File

@ -0,0 +1,46 @@
<div>
<div>
<form wire:submit="handleSubmit">
@csrf
<label for="contact_first_name">
<span class="input-label">{{ ctrans('texts.first_name') }}</span>
<input wire:model="contact_first_name" type="text" class="input w-full" />
@error('contact_first_name')
<p class="validation validation-fail block w-full" role="alert">
{{ $message }}
</p>
@enderror
</label>
<label for="contact_last_name">
<span class="input-label">{{ ctrans('texts.last_name') }}</span>
<input wire:model="contact_last_name" type="text" class="input w-full" />
@error('contact_last_name')
<p class="validation validation-fail block w-full" role="alert">
{{ $message }}
</p>
@enderror
</label>
<label for="contact_email">
<span class="input-label">{{ ctrans('texts.email_address') }}</span>
<input wire:model="contact_email" type="email" class="input w-full" />
@error('contact_email')
<p class="validation validation-fail block w-full" role="alert">
{{ $message }}
</p>
@enderror
</label>
<button
type="submit"
class="button button-block bg-primary text-white mt-4">
{{ ctrans('texts.next') }}
</button>
</form>
</div>
</div>