@if(Session::has('success'))
    <div class="alert alert-success alert-dismissible" role="alert">
        <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
        {{ Session::get('success') }}
    </div>
@elseif(Session::has('error'))
    <div class="alert alert-danger alert-dismissible">
        <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
        <h4><i class="icon fa fa-ban"></i> {{__('誤差')}}:</h4>
        {!! Session::get('error') !!}
    </div>
@elseif(isset($errorMsg))
    <div class="alert alert-danger alert-dismissible">
        <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
        <h4><i class="icon fa fa-ban"></i> {{__('誤差')}}:</h4>
        {!! $errorMsg !!}
    </div>
@endif
<div class="card-header">
    @if($isInfo)
        <a href="{{route('user_add')}}" class="btn btn-lg btn-success">{{__('登録')}}</a>
        <a href="{{route('user_edit',['id'=>$user_seq])}}" class="btn btn-lg btn-danger">{{__('編集')}}</a>
    @else
        <button type="submit" class="btn btn-lg btn-danger"
                >{{__('保存')}}</button>
    @endIf
</div>
<div class="card-body">
    <div class="row">
        @if($isInfo || $isEdit)
            <div class="form-group col-3">
                <label>{{__('validation.attributes.user_seq')}}</label>
            </div>
            <div class="form-group col-9">
                <div class="input-group">
                    <input type="text" value="{{$user_seq}}" @if(!$isInfo) placeholder="{{__('validation.attributes.user_seq')}}" @endIf
                           class="form-control form-control-lg" readonly/>
                </div>
            </div>
        @endif
        <div class="form-group col-3">
            <label class="@if(!$isInfo) required @endIf">{{__('validation.attributes.user_id')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="text" name="user_id" value="{{$user_id}}"
                       @if(!$isInfo) placeholder="{{__('validation.attributes.user_id')}}" @endIf class="form-control form-control-lg"
                       @if($isInfo) readonly @endif/>
            </div>
        </div>
        <div class="form-group col-3">
            <label class="@if(!$isInfo) required @endIf">{{__('validation.attributes.member_id')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="email" name="member_id" value="{{$member_id}}"
                       @if(!$isInfo) placeholder="{{__('validation.attributes.member_id')}}" @endIf class="form-control form-control-lg"
                       @if($isInfo) readonly @endif/>
            </div>
        </div>

        <div class="form-group col-3">
            <label class="@if(!$isInfo) required @endIf">{{__('validation.attributes.user_pass')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="{{$isInfo?'text':'password'}}" @if($isInfo) value="{{$user_pass}}" readonly
                       @endIf name="password" class="form-control form-control-lg"
                       @if(!$isInfo) placeholder="{{__('validation.attributes.user_pass')}}" @endIf>
            </div>
        </div>
        @if(!$isInfo)
            <div class="form-group col-3">
                <label class="@if(!$isInfo) required @endIf">{{__('validation.attributes.password_confirmation')}}</label>
            </div>
            <div class="form-group col-9">
                <div class="input-group">
                    <input type="password" name="password_confirmation" class="form-control form-control-lg"
                           @if(!$isInfo) placeholder="{{__('validation.attributes.password_confirmation')}}" @endIf>
                </div>
            </div>
        @endif
        <div class="form-group col-3">
            <label>{{__('validation.attributes.user_manual_regist_flag')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="row">
                <div class="col-2 offset-1 form-check">
                    <input type="radio" class="minimal"
                           name="user_manual_regist_flag" value="1"
                           {{$user_manual_regist_flag?'checked':''}} @if($isInfo) disabled @endif>
                    <label class="form-check-label">{{__("はい")}}</label>
                </div>
                <div class="col-2 form-check">
                    <input type="radio" class="minimal"
                           name="user_manual_regist_flag" value="0"
                           {{!$user_manual_regist_flag?'checked':''}} @if($isInfo) disabled @endif>
                    <label class="form-check-label">{{__("いいえ")}}</label>
                </div>
            </div>
        </div>
        <div class="form-group col-3">
            <label>{{__('validation.attributes.user_mailing_flag')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="row">
                <div class="col-2 offset-1 form-check">
                    <input type="radio" class="minimal"
                           name="user_mailing_flag" value="1"
                           {{$user_mailing_flag?'checked':''}} @if($isInfo) disabled @endif>
                    <label class="form-check-label">{{__("はい")}}</label>
                </div>
                <div class="col-2 form-check">
                    <input type="radio" class="minimal"
                           name="user_mailing_flag" value="0"
                           {{!$user_mailing_flag?'checked':''}} @if($isInfo) disabled @endif>
                    <label class="form-check-label">{{__("いいえ")}}</label>
                </div>
            </div>
        </div>
        <div class="form-group col-3">
            <label>{{__('validation.attributes.contract_number')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="text" class="form-control form-control-lg"
                       @if(!$isInfo) placeholder="{{__('validation.attributes.contract_number')}}" @endIf
                       name="contract_number" @if($isInfo) readonly @endif
                       value="{{$contract_number}}">
            </div>
        </div>
        <div class="form-group col-3">
            <label>{{__('validation.attributes.user_tag_serial')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="text" class="form-control form-control-lg"
                       @if(!$isInfo) placeholder="{{__('validation.attributes.user_tag_serial')}}" @endIf
                       name="user_tag_serial" @if($isInfo) readonly @endif
                       value="{{$user_tag_serial}}">
            </div>
        </div>
        <div class="form-group col-3">
            <label>{{__('validation.attributes.user_tag_serial_64')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="text" class="form-control form-control-lg"
                       @if(!$isInfo) placeholder="{{__('validation.attributes.user_tag_serial_64')}}" @endIf
                       name="user_tag_serial_64" @if($isInfo) readonly @endif
                       value="{{$user_tag_serial_64}}">
            </div>
        </div>
        <div class="form-group col-3">
            <label>{{__('validation.attributes.qr_code')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="text" class="form-control form-control-lg"
                       @if(!$isInfo) placeholder="{{__('validation.attributes.qr_code')}}" @endIf name="qr_code"
                       value="{{$qr_code}}" @if($isInfo) readonly @endif>
            </div>
        </div>

        <div class="form-group col-3">
            <label>{{__('validation.attributes.tag_qr_flag')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="row">
                <div class="col-2 offset-1 form-check">
                    <input type="radio" class="minimal"
                           name="tag_qr_flag" @if($isInfo) disabled @endif
                           value="0" {{$tag_qr_flag? 'checked':''}}>
                    <label class="form-check-label">タグ</label>
                </div>
                <div class="col-3 form-check">
                    <input type="radio" class="minimal"
                           name="tag_qr_flag" @if($isInfo) disabled @endif
                           value="1" {{!$tag_qr_flag? 'checked':''}}>
                    <label class="form-check-label">ＱＲフラグ</label>
                </div>
            </div>
        </div>
        <div class="form-group col-3">
            <label>{{__('validation.attributes.user_aid')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="number" class="form-control form-control-lg"
                       @if(!$isInfo) placeholder="{{__('validation.attributes.user_aid')}}" @endIf
                       name="user_aid"
                       value="{{$user_aid}}" @if($isInfo) readonly @endif>
            </div>
        </div>

        <div class="form-group col-3">
            <label>{{__('validation.attributes.user_park_number')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="text" class="form-control form-control-lg"
                       @if(!$isInfo) placeholder="{{__('validation.attributes.user_park_number')}}" @endIf
                       name="user_park_number" @if($isInfo) readonly @endif
                       value="{{$user_park_number}}">
            </div>
        </div>

        <div class="form-group col-3">
            <label>{{__('validation.attributes.user_place_qrid')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="text" class="form-control form-control-lg"
                       @if(!$isInfo) placeholder="{{__('validation.attributes.user_place_qrid')}}" @endIf
                       name="user_place_qrid" @if($isInfo) readonly @endif
                       value="{{$user_place_qrid}}">
            </div>
        </div>

        <div class="form-group col-3">
            <label class="@if(!$isInfo) required @endIf">{{__('validation.attributes.user_categoryid')}}</label>
        </div>
        <div class="form-group col-9">
            {{--<select name="user_categoryid" class="form-control form-control-lg" @if($isInfo)  disabled @endif>--}}
            {{--<option value=""></option>--}}
            {{--@foreach($listUserType as $key => $item)--}}
            {{--<option value="{{$key}}" @if($key == $user_categoryid) selected @endif>{{$item}}</option>--}}
            {{--@endforeach--}}
            {{--</select>--}}
            <input type="text" class="form-control form-control-lg"
                   @if(!$isInfo) placeholder="{{__('validation.attributes.user_categoryid')}}" @endIf
                   name="user_categoryid" @if($isInfo) readonly @endif
                   value="{{$user_categoryid}}">
        </div>

        <div class="form-group col-3">
            <label class="@if(!$isInfo) required @endIf">{{__('validation.attributes.user_name')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="text" class="form-control form-control-lg" @if(!$isInfo) placeholder="{{__('自転車　太郎')}}" @endIf
                       name="user_name" @if($isInfo) readonly @endif
                       value="{{$user_name}}">
            </div>
        </div>
        <div class="form-group col-3">
            <label>{{__('validation.attributes.user_phonetic')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="text" class="form-control form-control-lg" @if(!$isInfo) placeholder="{{__('ジテンシャ　タロウ')}}" @endIf
                       name="user_phonetic" @if($isInfo) readonly @endif
                       value="{{$user_phonetic}}">
            </div>
        </div>


        <div class="form-group col-3">
            <label>{{__('validation.attributes.user_gender')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="row">
                <div class="col-2 offset-1 form-check">
                    <input type="radio" class="minimal" name="user_gender" value="{{__('男性')}}"
                           @if($user_gender == __('男性')) checked @endIf
                           @if($isInfo) disabled @endif/>
                    <label for="user_gender_m" class="radio mr20">{{__('男性')}}</label>
                </div>
                <div class="col-2 form-check">
                    <input type="radio" class="minimal" name="user_gender" value="{{__('女性')}}"
                           @if($user_gender == __('女性')) checked @endIf
                           @if($isInfo) disabled @endif/>
                    <label for="user_gender_f" class="radio mr20">{{__('女性')}}</label>
                </div>
            </div>
        </div>

        <div class="form-group col-3">
            <label>{{__('validation.attributes.user_birthdate')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="date" class="form-control form-control-lg" name="user_birthdate" @if($isInfo) readonly
                       @endif
                       value="{{$user_birthdate}}">
            </div>
        </div>


        <div class="form-group col-3">
            <label>{{__('validation.attributes.user_age')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="text" value="{{$user_age}}" name="user_age"
                       @if(!$isInfo) placeholder="00" @endif
                       class="form-control form-control-lg"
                       @if($isInfo) readonly @endif/>
            </div>
        </div>


        <div class="form-group col-3">
            <label class="@if(!$isInfo) required @endIf">{{__('validation.attributes.user_mobile')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="text" class="form-control form-control-lg" @if(!$isInfo) placeholder="080-0000-0000" @endif
                       name="user_mobile" @if($isInfo) readonly @endif
                       value="{{$user_mobile}}">
            </div>
        </div>
        <div class="form-group col-3">
            <label>{{__('validation.attributes.user_homephone')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="text" class="form-control form-control-lg" @if(!$isInfo) placeholder="000-0000-0000" @endif
                       name="user_homephone" @if($isInfo) readonly @endif
                       value="{{$user_homephone}}">
            </div>
        </div>
        <div class="form-group col-3">
            <label>{{__('validation.attributes.user_primemail')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="email" class="form-control form-control-lg" @if(!$isInfo) placeholder="{{__('name@example.com')}}" @endIf
                       name="user_primemail" @if($isInfo) readonly @endif
                       value="{{$user_primemail}}">
            </div>
        </div>

        <div class="form-group col-3">
            <label>{{__('validation.attributes.user_submail')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="text" class="form-control form-control-lg" @if(!$isInfo) placeholder="{{__('name@example.com')}}" @endIf
                       name="user_submail" @if($isInfo) readonly @endif
                       value="{{$user_submail}}">
            </div>
        </div>
        <div class="form-group col-3">
            <label>{{__('validation.attributes.user_regident_zip')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="text" class="form-control form-control-lg" @if(!$isInfo) placeholder="000-0000" @endif
                       name="user_regident_zip" @if($isInfo) readonly @endif
                       value="{{$user_regident_zip}}">
            </div>
        </div>

        <div class="form-group col-3">
            <label class="@if(!$isInfo) required @endIf">{{__('validation.attributes.user_regident_pre')}}</label>
        </div>
        <div class="form-group col-9">
            <select class="form-control form-control-lg mb10" name="user_regident_pre" @if($isInfo) disabled @endif>
                <option value="">{{__('都市を選択')}}</option>
                @foreach($cities as $val)
                    <option value="{{$val}}" @if($user_relate_pre == $val)selected @endif>{{$val}}</option>
                @endforeach
            </select>
        </div>

        <div class="form-group col-3">
            <label>{{__('validation.attributes.user_regident_city')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="text" class="form-control form-control-lg" @if(!$isInfo) placeholder="{{__('市町村区')}}" @endIf
                       name="user_regident_city" @if($isInfo) readonly @endif
                       value="{{$user_regident_city}}">
            </div>
        </div>
        <div class="form-group col-3">
            <label>{{__('validation.attributes.user_regident_add')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="text" class="form-control form-control-lg mb10" @if(!$isInfo) placeholder="{{__('それ以降の住所')}}" @endIf
                       name="user_regident_add" @if($isInfo) readonly @endif
                       value="{{$user_regident_add}}">
            </div>
        </div>

        <div class="form-group col-3">
            <label>{{__('validation.attributes.user_relate_zip')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="text" class="form-control form-control-lg mb10" @if(!$isInfo) placeholder="000-0000" @endif
                       name="user_relate_zip" @if($isInfo) readonly @endif
                       value="{{$user_relate_zip}}">
            </div>
        </div>
        <div class="form-group col-3">
            <label class="@if(!$isInfo) required @endIf">{{__('validation.attributes.user_relate_pre')}}</label>
        </div>
        <div class="form-group col-9">
            <select class="form-control form-control-lg mb10" name="user_relate_pre" @if($isInfo) disabled @endif>
                <option value="">{{__('都市を選択')}}</option>
                @foreach($cities as $val)
                    <option value="{{$val}}" @if($user_relate_pre == $val)selected @endif>{{$val}}</option>
                @endforeach
            </select>
        </div>
        <div class="form-group col-3">
            <label>{{__('validation.attributes.user_relate_city')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="text" class="form-control form-control-lg mb10" @if(!$isInfo) placeholder="{{__('市町村区')}}" @endIf
                       name="user_relate_city" @if($isInfo) readonly @endif
                       value="{{$user_relate_city}}">
            </div>
        </div>
        <div class="form-group col-3">
            <label>{{__('validation.attributes.user_relate_add')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="text" class="form-control form-control-lg mb10" @if(!$isInfo) placeholder="{{__('それ以降の住所')}}" @endIf
                       name="user_relate_add" @if($isInfo) readonly @endif
                       value="{{$user_relate_add}}">
            </div>
        </div>
        <div class="form-group col-3">
            <label>区民</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="text" class="form-control form-control-lg mb10" @if(!$isInfo) placeholder="" @endif
                       name="ward_residents" @if($isInfo) readonly @endif
                       value="{{$ward_residents}}">
            </div>
        </div>
        <div class="form-group col-3">
            <label>{{__('validation.attributes.user_workplace')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="text" class="form-control form-control-lg"
                       @if(!$isInfo) placeholder="{{__('validation.attributes.user_workplace')}}" @endIf
                       name="user_workplace" @if($isInfo) readonly @endif
                       value="{{$user_workplace}}">
            </div>
        </div>
        <div class="form-group col-3">
            <label>{{__('validation.attributes.user_school')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="text" class="form-control form-control-lg"
                       @if(!$isInfo) placeholder="{{__('validation.attributes.user_school')}}" @endIf
                       name="user_school" @if($isInfo) readonly @endif
                       value="{{$user_school}}">
            </div>
        </div>
        <div class="form-group col-3">
            <label>{{__('validation.attributes.user_graduate')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="text" class="form-control form-control-lg"
                       @if(!$isInfo) placeholder="{{__('validation.attributes.user_graduate')}}" @endIf
                       name="user_graduate" @if($isInfo) readonly @endif
                       value="{{$user_graduate}}">
            </div>
        </div>
        <div class="form-group col-3">
            <label>{{__('validation.attributes.user_reduction')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="text" class="form-control form-control-lg"
                       @if(!$isInfo) placeholder="{{__('validation.attributes.user_reduction')}}" @endIf
                       name="user_reduction" @if($isInfo) readonly @endif
                       value="{{$user_reduction}}">
            </div>
        </div>

        <div class="form-group col-3">
            <label class="@if(!$isInfo) required @endIf">{{__('validation.attributes.user_idcard')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <select class="form-control form-control-lg" name="user_idcard" @if($isInfo) disabled @endif>
                    @foreach(\App\User::USER_IDCAR as $item)
                        <option value="{{$item}}" @if($user_idcard == $item) selected @endif>{{__($item)}}</option>
                    @endforeach
                </select>
            </div>
        </div>
        <div class="form-group col-3">
            <label>{{__('validation.attributes.user_idcard_chk_flag')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="row">
                @foreach(\App\User::USER_ID_CARD_CHK_FLG as $key => $item)
                    <div class="offset-1 form-check">
                        <input class="form-check-input minimal" name="user_idcard_chk_flag"
                               @if($isInfo) disabled @endif  type="radio" value="{{$key}}"
                               @if($user_idcard_chk_flag == $key)checked @endIf>
                        <label class="form-check-label">{{__($item)}}</label>
                    </div>
                @endforeach
            </div>
        </div>
        <div class="form-group col-3">
            <label>{{__('validation.attributes.user_chk_day')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="date" name="user_chk_day"
                       value="@if(!empty($user_chk_day)){{date('Y-m-d',strtotime($user_chk_day))}}@endif"
                       @if($isInfo) readonly @endif class="form-control form-control-lg"/>
            </div>
        </div>
        <div class="form-group col-3">
            <label class="required">{{__('validation.attributes.user_chk_opeid')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <select class="form-control form-control-lg" name="user_chk_opeid" @if($isInfo) disabled @endif>
                    <option value="">{{__('validation.attributes.user_chk_opeid')}}</option>
                    @foreach($listOpe as $key => $item)
                        <option value="{{$key}}" @if($key == $user_chk_opeid) selected @endif>{{$item}}</option>
                    @endforeach
                </select>
            </div>
        </div>
        <div class="form-group col-3">
            <label>{{__('validation.attributes.user_tag_issue')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="text" class="form-control form-control-lg"
                       @if(!$isInfo) placeholder="{{__('validation.attributes.user_tag_issue')}}" @endIf
                       name="user_tag_issue" @if($isInfo) readonly @endif
                       value="{{$user_tag_issue}}">
            </div>
        </div>
        <div class="form-group col-3">
            <label>{{__('validation.attributes.issue_permission')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="row">
                <div class="col-2 offset-1 form-check">
                    <input type="radio" class="minimal"
                           name="issue_permission" @if($isInfo) disabled @endif
                           value="1" {{$issue_permission? 'checked':''}}>
                    <label class="form-check-label">{{__("はい")}}</label>
                </div>
                <div class="col-2 form-check">
                    <input type="radio" class="minimal"
                           name="issue_permission" @if($isInfo) disabled @endif
                           value="0" {{!$issue_permission? 'checked':''}}>
                    <label class="form-check-label">{{__("いいえ")}}</label>
                </div>
            </div>
        </div>
        <div class="form-group col-3">
            <label>{{__('validation.attributes.user_quit_flag')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="row">
                <div class="col-2 offset-1 form-check">
                    <input type="radio" class="minimal"
                           name="user_quit_flag" @if($isInfo) disabled @endif
                           value="1" {{$user_quit_flag? 'checked':''}}>
                    <label class="form-check-label">{{__("はい")}}</label>
                </div>
                <div class="col-2 form-check">
                    <input type="radio" class="minimal"
                           name="user_quit_flag" @if($isInfo) disabled @endif
                           value="0" {{!$user_quit_flag? 'checked':''}}>
                    <label class="form-check-label">{{__("いいえ")}}</label>
                </div>
            </div>
        </div>
        <div class="form-group col-3">
            <label>{{__('validation.attributes.user_quitday')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="date" name="user_quitday" @if($isInfo) readonly @endif value="{{$user_quitday}}"
                       class="form-control form-control-lg"/>
            </div>
        </div>
        <div class="form-group col-3">
            <label>{{__('validation.attributes.user_remarks')}}</label>
        </div>
        <div class="form-group col-9">
            <div class="input-group">
                <input type="text" class="form-control form-control-lg"
                       @if(!$isInfo) placeholder="{{__('validation.attributes.user_remarks')}}" @endIf
                       name="user_remarks" @if($isInfo) readonly @endif
                       value="{{$user_remarks}}">
            </div>
        </div>
        @if(!$isInfo)
            <div class="form-group col-3">
                <label>{{__('validation.attributes.photo_filename1')}}</label>
            </div>
            <div class="form-group col-9">
                <div class="input-group">
                    <input type="file" id="photo_filename1" name="photo_filename1">
                    {{--<p class="help-block">{{__('note')}}</p>--}}
                </div>
            </div>
        @endif
        @if($photo_filename1 != '')
            <div class="form-group col-3">
                @if($isInfo)<label>{{__('validation.attributes.photo_filename1')}}</label>@endif
            </div>
            <div class="form-group col-9">
                <img src="{{\App\Utils::getImageUrl($photo_filename1)}}" class="image" width="100">
            </div>
        @endif
        @if(!$isInfo)
            <div class="form-group col-3">
                <label>{{__('validation.attributes.photo_filename2')}}</label>
            </div>
            <div class="form-group col-9">
                <div class="input-group">
                    <input type="file" id="photo_filename2" name="photo_filename2">
                    {{--<p class="help-block">{{__('note')}}</p>--}}
                </div>
            </div>
        @endif
        @if($photo_filename2 != '')
            <div class="form-group col-3">
                @if($isInfo)<label>{{__('validation.attributes.photo_filename2')}}</label>@endif
            </div>
            <div class="form-group col-9">
                <img src="{{\App\Utils::getImageUrl($photo_filename2)}}" class="image">
            </div>
        @endif


    </div>
    @if($isInfo)
        <a href="{{route('user_add')}}" class="btn btn-lg btn-success">{{__('登録')}}</a>
        <a href="{{route('user_edit',['id'=>$user_seq])}}" class="btn btn-lg btn-danger">{{__('編集')}}</a>
    @else
        <button type="submit" class="btn btn-lg btn-danger"
                >{{__('保存')}}</button>
    @endIf
</div>

