verschlimmbesserte changes fixed

This commit is contained in:
xuwhite 2021-10-26 16:08:27 +02:00 committed by Igor Scheller
parent 7f5baf7b10
commit e2446bda19
1 changed files with 4 additions and 4 deletions

View File

@ -14,18 +14,18 @@
{{ csrf() }} {{ csrf() }}
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-6">
{{ f.select('shirt_size', config('tshirt_sizes'), __('user.shirt_size'), userdata.personalData.shirt_size) }} {{ f.select('shirt_size', config('tshirt_sizes'), __('user.shirt_size'), userdata.personalData.shirt_size) }}
</div> </div>
<div class="col-md-12"> <div class="col-md-6">
{{ f.switch('arrived', __('user.arrived'), userdata.state.arrived, {'disabled': not has_permission_to('admin_arrive')}) }} {{ f.switch('arrived', __('user.arrived'), userdata.state.arrived, {'disabled': not has_permission_to('admin_arrive')}) }}
{% if userdata.state.force_active %} {% if userdata.state.force_active %}
{{ f.switch('force_active', __('user.force_active'), true, {'disabled': true}) }} {{ f.switch('force_active', __('user.force_active'), true, {'disabled': true}) }}
{% else %}
{{ f.switch('active', __('user.active'), userdata.state.active) }}
{% endif %} {% endif %}
{{ f.switch('active', __('user.active'), userdata.state.active) }}
{{ f.switch('got_shirt', __('user.got_shirt'), userdata.state.got_shirt) }} {{ f.switch('got_shirt', __('user.got_shirt'), userdata.state.got_shirt) }}
</div> </div>
<div class="col-md-12"> <div class="col-md-12">