Base
This commit is contained in:
29
resources/views/proyectos/operadores/add.blade.php
Normal file
29
resources/views/proyectos/operadores/add.blade.php
Normal file
@ -0,0 +1,29 @@
|
||||
@extends('layout.base')
|
||||
|
||||
@section('content')
|
||||
<div class="row page-heading">
|
||||
<h3>Agregar Operadores - {{$proyecto->descripcion}}</h3>
|
||||
</div>
|
||||
<br />
|
||||
<form method="post" class="form-horizontal" action="{{nUrl('operadores', 'add', ['proyecto' => $proyecto->id])}}">
|
||||
<div class="form-group">
|
||||
<div class="col-md-2">Operadores</div>
|
||||
<div class="col-md-3">
|
||||
<select name="operadores[]" multiple="multiple">
|
||||
@foreach ($operadores as $operador)
|
||||
<option value="{{$operador->id}}"
|
||||
@if (array_search($operador, $vigentes) !== false)
|
||||
selected="selected"
|
||||
@endif
|
||||
>{{$operador->abreviacion}}
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-md-offset-2 col-md-3">
|
||||
<button class="form-control" type="submit">Agregar</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@endsection
|
Reference in New Issue
Block a user