@extends('layouts.admin.master') @section('title', !empty($adminUser) ? 'Update Profile' : 'Add Profile') @section('content') @include('layouts.admin.flash.alert')

Manage Admin Users Here you can update admin profile

{{ Breadcrumbs::render('common',['append' => [['label'=> 'Update Profile']]]) }}

{{ !empty($adminUser) ? 'Edit Profile' : 'Add Admin User' }}

@if(isset($adminUser)) {{ Form::model($adminUser, ['url' => route('admin.update-profile') , 'method' => 'patch']) }} @else {{ Form::open(['url' => route('admin.update-profile', app('request')->query())]) }} @endif
{{ Form::text('name', old('name'), ['class' => 'form-control','placeholder' => 'First Name']) }} @if($errors->has('name')) {{ $errors->first('name') }} @endif
{{ Form::text('email', old('email'), ['type' => 'email','class' => 'form-control','placeholder' => 'Email']) }} @if($errors->has('email')) {{ $errors->first('email') }} @endif
{{ Form::text('mobile', old('mobile'), ['class' => 'form-control','placeholder' => 'Mobile']) }} @if($errors->has('mobile')) {{ $errors->first('mobile') }} @endif
{{ Form::close() }}
@stop