register step
This commit is contained in:
parent
1ada368ed4
commit
f06d2d15a5
50 changed files with 748 additions and 276 deletions
|
|
@ -1,6 +1,7 @@
|
|||
<div class="card mb-4">
|
||||
<h5 class="card-header">
|
||||
{{ __('Einwilligung & Datenschutz') }}
|
||||
{{ __('Vertrag & Datenschutz') }}
|
||||
<span class="text-tiny float-right">* {{trans('register.required_fields')}}</span>
|
||||
</h5>
|
||||
<div class="card-body">
|
||||
<div class="form-group">
|
||||
|
|
@ -13,9 +14,23 @@
|
|||
<div class="form-group">
|
||||
<label class="custom-control custom-checkbox m-0">
|
||||
<input type="checkbox" class="custom-control-input" name="accepted_active" id="accepted_active" @if($user->agreement) checked="checked" @endif required>
|
||||
<span class="custom-control-label">{!! __('Declaration of consent') !!}</span>
|
||||
<span class="custom-control-label">{!! trans('register.declaration-of-consent') !!}*</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="container-p-x py-4 bg-light rounded mb-2" >
|
||||
<div class="" style="max-height: 400px; overflow-y: auto">
|
||||
{!! File::get(public_path('pdf/mivita_contract_de.php')); !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="custom-control custom-checkbox m-0">
|
||||
<input type="checkbox" class="custom-control-input" name="accepted_contract" id="accepted_contract" required @if($user->account && $user->account->accept_contract) checked="checked" @endif>
|
||||
<span class="custom-control-label">{!! trans('register.accept-contract') !!}*</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -31,6 +46,9 @@
|
|||
'accepted_active': {
|
||||
required: true
|
||||
},
|
||||
'accepted_contract': {
|
||||
required: true
|
||||
},
|
||||
},
|
||||
errorPlacement: function errorPlacement(error, element) {
|
||||
$(element).parents('.form-group').append(
|
||||
|
|
@ -55,6 +73,9 @@
|
|||
accepted_active : {
|
||||
required: "{{__('This field is required.')}}",
|
||||
},
|
||||
accepted_contract : {
|
||||
required: "{{__('This field is required.')}}",
|
||||
},
|
||||
|
||||
},
|
||||
onkeyup: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue