@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
@foreach($materias as $value) @endforeach
Periodo Código Descripción Acciones
{!! $value->periodo !!} {!! $value->materia_id !!}
{!! Form::open(array('url'=>'datos/guardarpensumprograma','class'=>'formulario'))!!}{!! csrf_field() !!} {!! Form::hidden('pensum_id',$pensum_id)!!} {!! Form::hidden('programa_id',$programa_id)!!}
{!! Form::text('materia_id',NULL, $attributes = array('class' => 'form-control mayuscula','id'=>'materia_id','placeholder'=>'AI10PR'))!!}
@if($errors->has('código')) {!! $errors->first('código') !!} @else {!! " " !!} @endif
{!! Form::text('orden',NULL, $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',NULL, $attributes = array('class' => 'form-control','id'=>'periodo','maxlength' => 2,'placeholder'=>'2','onkeypress'=>'return soloNumeros(event)'))!!}
@if($errors->has('período')) {!! $errors->first('período') !!} @else {!! " " !!} @endif
{!! Form::text('uc',0, $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',NULL, $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',NULL, $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',NULL, $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',NULL, $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
{!!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