@extends('layouts.master') @section('navigation') @include('local.managers.admins._new_navigation') @stop @section('main')
Create a Course
{{ Form::open(['action' => 'ProgramsController@addToOtherProgramTYP','enctype'=>"multipart/form-data"]) }}
{{ Form::label('program', 'Select Program to pair other Program Courses\'') }}
{{ Form::label('program', 'Choose other program') }}


{{ Form::submit('Pair Other Program Courses', ['class' => 'btn btn-primary btn-block', 'name' => 'pair_other_courses']) }} {{ Form::close() }}
Edit pairing

You can enroll students in this setting, by choosing the course and uploading a .txt file with the students numbers

{{ Form::open(['action' => 'ProgramsController@updatePairingInfo', 'enctype'=>"multipart/form-data"]) }}
{{Form::label('select-program-edit', "Edit Program Courses' Pairing")}}
{{ Form::label('program', 'Choose other program') }}


{{ Form::submit("Edit Program Courses' Pairing", ['class' => 'btn btn-primary btn-block', 'name' => 'edit_pair_other_courses']) }} {{ Form::close() }}
@stop @section('javascript') // -------------------------------------------------------------------------- // Page load // -------------------------------------------------------------------------- $("#add-other-program").on("click", function(e){ e.preventDefault(); }); $("#add-other-program-edit").on('click', function(e){ e.preventDefault(); }) fetchProgramPairing('#select-program-edit') // -------------------------------------------------------------------------- // Functions // -------------------------------------------------------------------------- // -------------------------------------------------------------------------- // Events // -------------------------------------------------------------------------- @stop