@extends('layouts.general')
@section('content')
      <main role="main" id="" class="">
        <section id="" class="container mt20 mb20">
          <div class="row">
            <div class="col-12 col-lg-10 offset-0 offset-lg-1 mt20 mb20">
              <div class="card border-success">
                <div class="card-header border-success">
                    <h5 class="card-title text-success">新規会員登録</h5>
                </div>
                <div class="card-body mt30">
                  <p class="h4">入力内容をご確認の上、登録ボタンを押して下さい。</p>
                  <section id="" class="container mt50 mb50">
                    <form class="row form" action="{{ route('member_regist_complete', ['management_code' => $management_code]) }}" method="post">
                      @csrf
                      <div class="col-12 col-md-3 offset-0 offset-md-1"><label>お名前</label></div>
                      <div class="col-12 col-lg-6 mb10"><h3>{{ $input_data['name'] }}</h3><input type="hidden" name="name" value="{{ $input_data['name'] }}"></div>
                      <div class="col-12 col-md-3 offset-0 offset-md-1"><label>フリガナ</label></div>
                      <div class="col-12 col-lg-6 mb10"><h3>{{ $input_data['kana'] }}</h3><input type="hidden" name="kana" value="{{ $input_data['kana'] }}"></div>
                      <div class="col-12 col-md-3 offset-0 offset-md-1"><label>自宅電話番号</label></div>
                      <div class="col-12 col-lg-6 mb10"><h3>{{ implode('-', $input_data['phone']) }}</h3>
                        <input type="hidden" name="phone[]" value="{{ $input_data['phone'][0] }}">
                        <input type="hidden" name="phone[]" value="{{ $input_data['phone'][1] }}">
                        <input type="hidden" name="phone[]" value="{{ $input_data['phone'][2] }}">
                      </div>
                      <div class="col-12 col-md-3 offset-0 offset-md-1"><label>携帯電話番号</label></div>
                      <div class="col-12 col-lg-6 mb10"><h3>{{ implode('-', $input_data['mobile']) }}</h3>
                        <input type="hidden" name="mobile[]" value="{{ $input_data['mobile'][0] }}">
                        <input type="hidden" name="mobile[]" value="{{ $input_data['mobile'][1] }}">
                        <input type="hidden" name="mobile[]" value="{{ $input_data['mobile'][2] }}">
                      </div>
                      <div class="col-12 col-md-3 offset-0 offset-md-1"><label>生年月日</label></div>
                      <div class="col-12 col-lg-6 mb10"><h3>{{ $input_data['birthdate'] }}</h3><input type="hidden" name="birthdate" value="{{ $input_data['birthdate'] }}"></div>
                      <div class="col-12 col-md-3 offset-0 offset-md-1"><label>メールアドレス</label></div>
                      <div class="col-12 col-lg-6 mb10"><h3>{{ $input_data['email'] }}</h3><input type="hidden" name="email" value="{{ $input_data['email'] }}"></div>
                      <div class="col-12 col-md-5 offset-0 offset-md-1 mt10"><button type="submit" class="btn btn-block btn-lg btn-success" name='submit' value="complete">登録</button></div>
                      <div class="col-12 col-md-5 mt10"><button type="submit" class="btn btn-lg btn-block btn-outline-success" name='submit' value="back">戻る</button></div>
                      <div class="col-12 col-md-4 offset-0 offset-md-4 mt50 mb50"></div>
                      </form>
                  </section>
                </div>
              </div>
            </div>
          </div>
        </section>
      </main>
@endsection