
    <input type="hidden" name="m_data_edit" value="TSOK">
    <div class="card-body">
        <div class="form-row">
            <div class="form-group col-md-4">
                <label for="m_account" class="form-label">{{ __('Account ID') }} (unique)</label>
                <span class="badge badge-secondary float-right">Nächste freie ID: {{$next_account_id}}</span>
                {{ Form::text('m_account', $user->account->m_account,  array('placeholder'=>__('Account ID'), 'class'=>'form-control', 'id'=>'m_account')) }}
            </div>
            <div class="form-group col-md-4">
                <label class="form-label">{{ __('Rolle') }}</label>
                <select class="selectpicker" data-style="btn-light" name="m_level" id="m_level">
                    {!!  HTMLHelper::getUserLevelOptions($user->m_level) !!}
                </select>
            </div>
            <div class="form-group col-md-4">
                <label class="form-label">{{ __('Sponsor') }}</label>
                <select class="selectpicker" data-style="btn-light" name="m_sponsor" id="m_sponsor" data-live-search="true">
                    {!!  HTMLHelper::getMembersOptions($user->m_sponsor, true) !!}
                </select>
            </div>
        </div>
        <div class="form-row">
            <div class="form-group col-md-2">
                <label class="form-label">{{ __('Salutation') }}</label>
                <select class="selectpicker" data-style="btn-light" name="m_salutation" id="m_salutation">
                    {!!  HTMLHelper::getSalutation($user->account->m_salutation) !!}
                </select>
            </div>

            <div class="form-group col-md-5">
                <label class="form-label" for="first_name">{{ __('First name') }}</label>
                {{ Form::text('m_first_name', $user->account->m_first_name,  array('placeholder'=>__('First name'), 'class'=>'form-control', 'id'=>'m_first_name')) }}
            </div>
            <div class="form-group col-md-5">
                <label class="form-label" for="last_name">{{ __('Last name') }}</label>
                {{ Form::text('m_last_name', $user->account->m_last_name,  array('placeholder'=>__('Last name'), 'class'=>'form-control', 'id'=>'m_last_name')) }}
            </div>
        </div>
        <div class="form-group">
            <label class="form-label" for="m_notes">{{ __('weitere Daten') }}</label>
            {{ Form::textarea('m_notes', $user->account->m_notes ,  array('placeholder'=>__('weitere Daten'), 'class'=>'form-control', 'id'=>'m_notes', 'rows'=>4)) }}
        </div>
        <div class="text-left mt-3">
            <button type="submit" class="btn btn-submit  btn-primary">{{ __('save') }}</button>&nbsp;
        </div>
        <hr>
    </div>

