
@extends('adm.template.template')

@section('conteudo')

    {!! Form::model($user, ['route' => ['user.update', $user->id], 'method' => 'put', 'id' => 'editar']) !!}
        <label style="margin-top: 30px;">
            <strong>Editar Usuário <span class="fa fa-pencil"></span></strong>
        </label>
        <div class="row">
            <div class="form-group col-md-12">
                {!! Form::text('name', null, ['placeholder'=>'Nome', 'class' => 'form-control','maxlength' => 15]) !!}
            </div>
        </div>
        <div class="row">
            <div class="form-group col-md-12">
                {!! Form::email('email', null,  ['placeholder'=>'Email', 'class' => 'form-control']) !!}
            </div>
        </div>
        <div class="row">
            <div class="form-group col-md-12">
                {!! Form::password('password', ['placeholder'=>'Senha', 'class' => 'form-control', 'maxlength' => 8]) !!}
            </div>
        </div>
        <div class="row">
            <div class="form-group col-md-12">
                {!! Form::submit('Editar', ['class' => 'btn btn-primary pull-right']) !!}
            </div>
        </div>
	{!! Form::close() !!}

@endsection

@section('js')
    <script type="text/javascript" src="{{ asset('js/adm/user.js') }}"></script>
@endsection