2023-08-01 17:29:23 -07:00
|
|
|
<div>
|
|
|
|
<!-- EULA text -->
|
|
|
|
<div class="form-group {{ $errors->has('eula_text') ? 'error' : '' }}">
|
|
|
|
<label for="eula_text" class="col-md-3 control-label">{{ trans('admin/categories/general.eula_text') }}</label>
|
|
|
|
<div class="col-md-7">
|
2024-05-29 12:08:25 -07:00
|
|
|
{{ Form::textarea('eula_text', null, ['wire:model.live' => 'eulaText', 'class' => 'form-control', 'aria-label'=>'eula_text', 'disabled' => $this->eulaTextDisabled]) }}
|
2023-08-01 17:29:23 -07:00
|
|
|
<p class="help-block">{!! trans('admin/categories/general.eula_text_help') !!} </p>
|
|
|
|
<p class="help-block">{!! trans('admin/settings/general.eula_markdown') !!} </p>
|
|
|
|
{!! $errors->first('eula_text', '<span class="alert-msg" aria-hidden="true">:message</span>') !!}
|
|
|
|
</div>
|
2023-08-02 18:03:09 -07:00
|
|
|
@if ($this->eulaTextDisabled)
|
2024-05-29 12:08:25 -07:00
|
|
|
<input type="hidden" name="eula_text" wire:model.live="eulaText" />
|
2023-08-02 18:03:09 -07:00
|
|
|
@endif
|
2023-08-01 17:29:23 -07:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Use default checkbox -->
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="col-md-9 col-md-offset-3">
|
|
|
|
@if ($defaultEulaText!='')
|
|
|
|
<label class="form-control">
|
2024-06-17 14:24:16 -07:00
|
|
|
{{ Form::checkbox('use_default_eula', '1', $useDefaultEula, ['wire:model.live' => 'useDefaultEula', 'aria-label'=>'use_default_eula']) }}
|
2023-08-01 17:29:23 -07:00
|
|
|
<span>{!! trans('admin/categories/general.use_default_eula') !!}</span>
|
|
|
|
</label>
|
|
|
|
@else
|
|
|
|
<label class="form-control form-control--disabled">
|
2024-06-17 14:24:16 -07:00
|
|
|
{{ Form::checkbox('use_default_eula', '0', $useDefaultEula, ['wire:model.live' => 'useDefaultEula', 'class'=>'disabled','disabled' => 'disabled', 'aria-label'=>'use_default_eula']) }}
|
2023-08-01 17:29:23 -07:00
|
|
|
<span>{!! trans('admin/categories/general.use_default_eula_disabled') !!}</span>
|
|
|
|
</label>
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Require Acceptance -->
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="col-md-9 col-md-offset-3">
|
|
|
|
<label class="form-control">
|
2024-06-17 14:24:16 -07:00
|
|
|
{{ Form::checkbox('require_acceptance', '1', $requireAcceptance, ['wire:model.live' => 'requireAcceptance', 'aria-label'=>'require_acceptance']) }}
|
2023-08-01 17:29:23 -07:00
|
|
|
{{ trans('admin/categories/general.require_acceptance') }}
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Email on Checkin -->
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="col-md-9 col-md-offset-3">
|
|
|
|
<label class="form-control">
|
2024-06-17 14:24:16 -07:00
|
|
|
{{ Form::checkbox('checkin_email', '1', $sendCheckInEmail, ['wire:model.live' => 'sendCheckInEmail', 'aria-label'=>'checkin_email', 'disabled' => $this->sendCheckInEmailDisabled]) }}
|
2023-08-01 17:29:23 -07:00
|
|
|
{{ trans('admin/categories/general.checkin_email') }}
|
|
|
|
</label>
|
2023-08-02 11:36:20 -07:00
|
|
|
@if ($this->shouldDisplayEmailMessage)
|
2023-08-01 17:29:23 -07:00
|
|
|
<div class="callout callout-info">
|
|
|
|
<i class="far fa-envelope"></i>
|
|
|
|
<span>{{ $this->emailMessage }}</span>
|
|
|
|
</div>
|
|
|
|
@endif
|
2023-08-02 17:45:39 -07:00
|
|
|
@if ($this->sendCheckInEmailDisabled)
|
2024-05-29 12:08:25 -07:00
|
|
|
<input type="hidden" name="checkin_email" wire:model.live="sendCheckInEmail" />
|
2023-08-02 17:45:39 -07:00
|
|
|
@endif
|
2023-08-01 17:29:23 -07:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|