@extends('layouts.main') @section('content')
{{ Form::open(['url' => 'users/update/' . $data->id, 'method' => 'POST', 'name' => 'form', 'id' => 'createform', 'files' => true]) }}
受験者情報編集(更新)

受験者基本情報

{{-- 通知メッセージ --}} @if ($message <> "")
{{ Form::label("message", $message, ["class"=>"form-control btn-success btn"]) }}
@endif @if (session()->has('errors'))
    @foreach ($errors->all() as $message)
  • {{ $message }}
  • @endforeach
@endif
{{ Form::label("name","受験者名",["class"=>"control-label btn"]) }} {{ Form::text("name", $data->name, ["class"=>"form-control validate[required]", "id"=>"name"]) }} {{ Form::label("email","E-Mailアドレス",["class"=>"control-label btn"]) }} {{ Form::text("email", $data->email, ["class"=>"form-control validate[required]", "id"=>"email"]) }}
{{ Form::label("password","パスワード",["class"=>"control-label btn"]) }} {{ Form::password("password", ["class"=>"form-control validate[required]", "id"=>"password"]) }} {{ Form::label("password_confirmation","パスワード(確認用)",["class"=>"control-label btn"]) }} {{ Form::password("password_confirmation", ["class"=>"form-control validate[required]", "id"=>"password_confirmation"]) }}
{{ Form::hidden("id", $data->id, ["id"=>"id"]) }} {{ Form::hidden("auth_level", "1", ["id"=>"auth_level"]) }}
{{ Form::button("キャンセル", ["class"=>"btn btn-default", "onClick"=>"javascript:window.history.back(-2);return false;"]) }} {{ Form::close() }}
@endsection