@extends('layouts.master') @section('css') @stop @section('content') {!! Form::open(array('url'=>'datos/actualizarpensumprograma','class'=>'formulario'))!!}{!! csrf_field() !!} {!! Form::hidden('pensum_id',$pensum_id)!!} {!! Form::hidden('programa_id',$programa_id)!!} {!! Form::hidden('materia_id',$materia_id)!!}
{!! Form::text('descripcion',$datos->materia->descripcion, $attributes = array('class' => 'form-control mayuscula','id'=>'des_mat','readOnly'=>'readOnly'))!!}
@if($errors->has('código')) {!! $errors->first('código') !!} @else {!! " " !!} @endif
{!! Form::text('orden',$datos->orden, $attributes = array('class' => 'form-control','id'=>'orden','maxlength' => 2,'placeholder'=>'1','onkeypress'=>'return soloNumeros(event)'))!!}
@if($errors->has('orden')) {!! $errors->first('orden') !!} @else {!! " " !!} @endif
{!! Form::text('periodo',$datos->periodo, $attributes = array('class' => 'form-control','id'=>'periodo','maxlength' => 2,'placeholder'=>'1','onkeypress'=>'return soloNumeros(event)'))!!}
@if($errors->has('período')) {!! $errors->first('período') !!} @else {!! " " !!} @endif
{!! Form::text('uc',$datos->prel_uc, $attributes = array('class' => 'form-control','id'=>'uc','maxlength' => 2,'placeholder'=>'0','onkeypress'=>'return soloNumeros(event)'))!!}
@if($errors->has('uc')) {!! $errors->first('uc') !!} @else {!! " " !!} @endif
Prelaciones
{!! Form::text('prel1',$datos->prel1_mat, $attributes = array('class' => 'form-control mayuscula','id'=>'prel1','placeholder'=> 'Prelación 1','maxlength' => 20))!!}
@if($errors->has('prelación 1')) {!! $errors->first('prelación 1') !!} @else {!! " " !!} @endif
{!! Form::text('prel2',$datos->prel2_mat, $attributes = array('class' => 'form-control mayuscula','id'=>'prel2','placeholder'=>'Prelación 2','maxlength' => 20))!!}
@if($errors->has('prelación 2')) {!! $errors->first('prelación 2') !!} @else {!! " " !!} @endif
{!! Form::text('prel3',$datos->prel3_mat, $attributes = array('class' => 'form-control mayuscula','id'=>'prel3','placeholder'=>'Prelación 3','maxlength' => 20))!!}
@if($errors->has('prelación 3')) {!! $errors->first('prelación 3') !!} @else {!! " " !!} @endif
{!! Form::text('prel4',$datos->prel4_mat, $attributes = array('class' => 'form-control mayuscula','id'=>'prel4','placeholder'=>'Prelación 4','maxlength' => 20))!!}
@if($errors->has('prelación 4')) {!! $errors->first('prelación 4') !!} @else {!! " " !!} @endif
@stop @section('postscript') {!! Html::script('js/solonumeros.js') !!} @stop