@extends('layouts.admin')
@section('page-title','')
@section('breadcrumb')
@include('admin.partials.crumb',[
'crumbs'=>[
route('admin.dashboard')=>__('default.dashboard'),
'#'=>isset($pageTitle)?$pageTitle:''
]])
@endsection
@section('content')
@php
$form->prepare();
$form->setAttribute('action', adminUrl(['controller'=>'setting','action'=>$action.'admin','id'=>$id]));
$form->setAttribute('method', 'post');
$form->setAttribute('role', 'form');
$form->setAttribute('class', 'form-horizontal');
echo $this->form()->openTag($form);
@endphp
{{ formElement($form->get('first_name')) }}
{{ formElementErrors($form->get('first_name')) }}
{{ formElement($form->get('last_name')) }}
{{ formElementErrors($form->get('last_name')) }}
{{ formElement($form->get('email')) }}
{{ formElementErrors($form->get('email')) }}
{{ formElement($form->get('notify')) }}
{{ formElementErrors($form->get('notify')) }}
{{ formElement($form->get('password')) }}
{{ formElementErrors($form->get('password')) }}
{{ formElement($form->get('confirm_password')) }}
{{ formElementErrors($form->get('confirm_password')) }}
{{ formElement($form->get('role_id')) }}
{{ formElementErrors($form->get('role_id')) }}
@php if($action='add'): @endphp
@php endif; @endphp
{{ formElement($form->get('account_description')) }}
{{ formElementErrors($form->get('account_description')) }}
{{ formElement($form->get('account_status')) }}
{{ formElementErrors($form->get('account_status')) }}
@endsection