@include('admin.users.top',array('title' => 'Anagrafica - '.$profile)) {{ HTML::style('packages/bootstrap/css/datepicker3.css' ,array('type' => 'text/css'))}} {{ HTML::script('packages/bootstrap/js/bootstrap-datepicker.js')}} {{ HTML::script('packages/bootstrap/js/locales/bootstrap-datepicker.it.js')}} {{ Form::open(array('url'=>'private-area/update-subscription-user', 'class'=>'form-admin')) }} {{ Form::hidden("tid", $tid, array('class'=>'form-control', 'id'=>"tid")) }} @if(count($errors)>0)
@endif @foreach ($fields as $field => $param) @if($errors->first($field)!="")
@else
@endif @if($param['type']=="text") {{ Form::text($field, $param['userValue'], array('class'=>'form-control', 'placeholder'=>$param['placeholder'], 'id'=>$field)) }} @elseif($param['type']=="email") {{ Form::email($field, $param['userValue'], array('class'=>'form-control', 'placeholder'=>$param['placeholder'], 'id'=>$field)) }} @elseif($param['type']=="select") {{ Form::select($field, $param['value'], $param['userValue'], array('class'=>'form-control', 'placeholder'=>$param['placeholder'])) }} @endif @if($errors->first($field)!="") {{ $errors->first($field) }} @endif
@endforeach
a
{{ Form::submit('Modifica', array('class'=>'btn btn-lg btn-primary'))}} Annulla {{ Form::close() }}