@extends('admin/layouts/default') {{-- Page title --}} @section('title') Create New networkexpert @parent @stop {{-- Page content --}} @section('content')

Network Experts Registration

Register a new networkexpert

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {!! Form::open(['url' => 'network/networkexperts']) !!}
{!! Form::label('firstname', 'Firstname: ') !!} {!! Form::text('firstname', null, [ 'class' => 'form-control' . ($errors->has('firstname') ? ' is-invalid' : ''), 'required' => true, 'placeholder' => 'Enter first name' ]) !!} @if ($errors->has('firstname')) {{ $errors->first('firstname') }} @endif
{!! Form::label('lastname', 'Lastname: ') !!} {!! Form::text('lastname', null, [ 'class' => 'form-control' . ($errors->has('lastname') ? ' is-invalid' : ''), 'required' => true, 'placeholder' => 'Enter last name' ]) !!} @if ($errors->has('lastname')) {{ $errors->first('lastname') }} @endif
{!! Form::label('email', 'Email: ') !!} {!! Form::email('email', null, [ 'class' => 'form-control' . ($errors->has('email') ? ' is-invalid' : ''), 'required' => true, 'placeholder' => 'Enter email address' ]) !!} @if ($errors->has('email')) {{ $errors->first('email') }} @endif
{!! Form::label('phome', 'Phone: ') !!} {!! Form::text('phome', null, [ 'class' => 'form-control' . ($errors->has('phome') ? ' is-invalid' : ''), 'required' => true, 'pattern' => '^09[0-9]{8}$', 'title' => 'Phone number must start with 09 and be exactly 10 digits', 'maxlength' => '10', 'placeholder' => 'Enter phone number (e.g. 0912345678)' ]) !!} @if ($errors->has('phome')) {{ $errors->first('phome') }} @endif
@lang('button.cancel')
{!! Form::close() !!}
@stop