@extends('layout.layout') {{-- Content --}} @section('content') @if(Request::is('user/register')) @include('custom::component.reply-btn', ['url' => route('login')]) @php $submit = "註冊" @endphp @elseif(Request::is('user/profile/edit')) @include('custom::component.reply-btn', ['url' => route('user.profile.show')]) @php $submit = "儲存" @endphp @endif
{{csrf_field()}} {{-- 帳號 --}} @component('custom::components/form/form-group', ['id' => 'uid']) @slot('label') ※ 帳號 @endslot 只能數字/小寫/底線 @endcomponent @component('custom::components/form/form-group', ['id' => 'password']) @slot('label') ※ 密碼 @endslot 最少8個字元 @endcomponent @component('custom::components/form/form-group', ['id' => 'password_chk']) @slot('label') ※ 確認密碼 @endslot @endcomponent {{-- 公司或團體名稱 --}} @component('custom::components/form/form-group', ['id' => 'name']) @slot('label') ※ 公司或團體名稱 @endslot @endcomponent {{-- 電子信箱 --}} @component('custom::components/form/form-group', ['id' => 'email']) @slot('label') ※ 電子信箱 @endslot @endcomponent {{-- 行動電話 --}} @component('custom::components/form/form-group', ['id' => 'phone']) @slot('label') ※ 行動電話 @endslot @endcomponent {{-- 統一編號 --}} @component('custom::components/form/form-group', ['id' => 'tax_id']) @slot('label') ※ 統一編號 @endslot 公司行號必填 @endcomponent {{-- 負責人 --}} @component('custom::components/form/form-group', ['id' => 'owner_name']) @slot('label') ※ 負責人 @endslot @endcomponent
@if($errors->has('contact_name')) @foreach ($errors->get('contact_name') as $error)
{{$error}}
@endforeach @endif
@if($errors->has('address')) @foreach ($errors->get('address') as $error)
{{$error}}
@endforeach @endif
@if($errors->has('phonenumber')) @foreach ($errors->get('phonenumber') as $error)
{{$error}}
@endforeach @endif
@if($errors->has('fax')) @foreach ($errors->get('fax') as $error)
{{$error}}
@endforeach @endif
@if (Request::is('user/register')) 限jpeg,bmp,png,gif,svg,pdf格式 @if($errors->has('certificate')) @foreach ($errors->get('certificate') as $error)
{{$error}}
@endforeach @endif @else 查看 @endif
@endsection @push('scripts') @endpush