@extends('adminlte::layouts.app') @section('htmlheader_title') {{ trans('Update User') }} @endsection @section('contentheader_title') Update User @endsection @section('main-content')
@foreach ($errors->all() as $error)

{{ $error }}

@endforeach
{!! Form::open(array('url' => ('admin/user/store'),'method'=>'post', 'files'=>true)) !!}
{!! Form::label('first name', 'First Name') !!}

{!! Form::label('last name', 'Last Name') !!}

{!! Form::label('Phone1', 'Phone1') !!}

{!! Form::label('Phone2', 'Phone2') !!}

{!! Form::label('email', 'Email') !!}

{!! Form::label('password', 'Password') !!}

@if ($data->status == 1) {!! Form::radio('status', '1',['checked' => 'checked'],['class' => 'minimal']) !!} Active {!! Form::radio('status', '0','',['class' => 'minimal']) !!} InActive @else {!! Form::radio('status', '1','',['class' => 'minimal']) !!} Active {!! Form::radio('status', '0',['checked' => 'checked'],['class' => 'minimal']) !!} InActive @endif
{!! Form::close() !!}
@include('adminlte::layouts.user.validation') @endsection