@extends('layouts.master') @section('css') {!! Html::style('css/jquery_ui.css')!!} {!! Html::style('css/datatable/dataTables.bootstrap.css')!!} @stop @section('content') @if(Session::has('message_success'))
{!! Session::get('message_success') !!}
@endif @if(Session::has('message_error'))
{!! Session::get('message_error') !!}
@endif
@if(count($materias)>0) @foreach($materias as $value) @endforeach
Código Descripción Acciones
{!! $value->id!!} {!! $value->descripcion!!}
@else
No se encontraron materias cargadas.
@endif
{!! Form::open(array('url'=>'datos/guardarunidad','class'=>'formulario'))!!}{!! csrf_field() !!}
{!! Form::text('descripcion',NULL, $attributes = array('class' => 'form-control mayuscula','id'=>'descripcion','maxlength' => 255))!!}
@if($errors->has('descripción')) {!! $errors->first('descripción') !!} @else {!! " " !!} @endif
{!! Form::text('id',NULL, $attributes = array('class' => 'form-control mayuscula','id'=>'id','placeholder'=>'AI10PR','maxlength' => 20))!!}
@if($errors->has('código')) {!! $errors->first('código') !!} @else {!! " " !!} @endif
{!! Form::text('des_corta',NULL, $attributes = array('class' => 'form-control mayuscula','id'=>'des_corta','maxlength' => 255))!!}
@if($errors->has('descripción corta')) {!! $errors->first('descripción corta') !!} @else {!! " " !!} @endif
{!! Form::text('minima',NULL, $attributes = array('class' => 'form-control','id'=>'minima','maxlength' => 3,'placeholder'=>'60','onkeypress'=>'return soloNumeros(event)'))!!}
@if($errors->has('min aprobatoria')) {!! $errors->first('min aprobatoria') !!} @else {!! " " !!} @endif
{!! Form::text('ubi_per',NULL, $attributes = array('class' => 'form-control','id'=>'ubi_per','maxlength' => 2,'placeholder'=>'2','onkeypress'=>'return soloNumeros(event)'))!!}
@if($errors->has('período')) {!! $errors->first('período') !!} @else {!! " " !!} @endif
{!! Form::text('cod_unico',NULL, $attributes = array('class' => 'form-control mayuscula','id'=>'cod_unico','placeholder'=>'AI10PR','maxlength' => 20))!!}
@if($errors->has('código único')) {!! $errors->first('código único') !!} @else {!! " " !!} @endif
{!! Form::text('uc',NULL, $attributes = array('class' => 'form-control','id'=>'uc','maxlength' => 2,'placeholder'=>'2','onkeypress'=>'return soloNumeros(event)'))!!}
@if($errors->has('uc')) {!! $errors->first('uc') !!} @else {!! " " !!} @endif
{!! Form::text('horas',NULL, $attributes = array('class' => 'form-control','id'=>'horas','maxlength' => 1,'placeholder'=>'2','onkeypress'=>'return soloNumeros(event)'))!!}
@if($errors->has('horas')) {!! $errors->first('horas') !!} @else {!! " " !!} @endif
{!! Form::select('introductorio',[0 => "No", 1 => "Si"],NULL, $attributes = array('class' => 'form-control','id'=>'introductorio'))!!}
@if($errors->has('introductorio')) {!! $errors->first('introductorio') !!} @else {!! " " !!} @endif
{!!form::close()!!}
@stop @section('postscript') {!! Html::script('js/solonumeros.js') !!} {!! Html::script('js/jquery_ui.js') !!} {!! Html::script('js/datatable/jquery.dataTables.js') !!} {!! Html::script('js/datatable/dataTables.bootstrap.js') !!} @stop