@extends('layouts.master') @section('css') @stop @section('content') @if(Session::has('message_success'))
{!! Session::get('message_success') !!}
@endif @if(Session::has('message_error'))
{!! Session::get('message_error') !!}
@endif
{!!Form::open(array('url'=> 'evaluacion/actualizarencuesta/'.$id))!!}
{!! Form::text('title', $encuesta->title , $attributes = array('class' => 'form-control mayuscula', 'id'=>'title','required' => 'required'))!!}
@if($errors->has('title')) {!! $errors->first('title') !!} @else {!! " " !!} @endif
{!! Form::text('descripcion', $encuesta->description , $attributes = array('class' => 'form-control mayuscula', 'id'=>'descripcion','required' => 'required'))!!}
@if($errors->has('descripción')) {!! $errors->first('descripción') !!} @else {!! " " !!} @endif
{!! Form::select('tipo',[0 => "Presencial", 2 => "Semipresencial", 3 => "Virtual"],$encuesta->modalidad_id, $attributes = array('class' => 'form-control','id'=>'tipo'))!!}
@if($errors->has('tipo')) {!! $errors->first('tipo') !!} @else {!! " " !!} @endif
{!!Form::submit('Actualizar',array('class' => 'btn btn-success'))!!}
{!!Form::close()!!}
@stop @section('postscript') {!! Html::script('js/solonumerosypunto.js') !!} @stop