Sindbad~EG File Manager
<div>
<div class="row">
<div class="col-md-12">
<div style="border: 1px solid #9B9B9B;border-radius:10px;padding:10px;">
<h5><b>Cuestionante</b></h5><hr>
<form>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="cuestionante">Ingrese cuestionante:</label>
<input type="text" class="form-control" wire:model="cuestionante" placeholder="Ingrese cuestionante" required>
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label for="nombre">Tipo de Cuestionante:</label>
<select class="form-control" wire:model="tipo">
<option value="">Seleccione una opción</option>
<option value="1">Nueva pregunta clima normal</option>
<option value="2">Nueva pregunta clima lo que mas me gusta</option>
<option value="3">Nueva pregunta clima lo que menos me gusta</option>
<option value="4">Nueva pregunta puntos a seguir trabajando</option>
<option value="5">Nueva pregunta adicional con respuesta de texto</option>
</select>
</div>
</div>
<div class="col-md-12">
@if($updateform)
<button type="button" class="btn btn-warning btn-block" wire:click="update()">Editar cuestionante</button>
<button type="button" class="btn btn-danger btn-block" wire:click="cancelar()">Cancelar</button>
@else
<button type="button" class="btn btn-success btn-block" wire:click="store()">Crear cuestionante</button>
@endif
</div>
</div>
</form>
</div>
<br><input wire:model="search" class="form-control" type="search" placeholder="Buscar"><br>
</div>
</div>
<div class="row">
<div class="col-md-12 table-responsive">
<table class="table table-striped table-bordered table-condensed table-hover">
<thead>
<th>Cuestionante </th>
<th>Opciones </th>
</thead>
@if(array_key_exists(1, $formulario1))
@foreach ($formulario1[1] as $for)
<tr>
<td>{{ $for["custionante"] }}</td>
<td>
<button class="btn btn-info" wire:click="edit({{ $for['id'] }})">Editar</button>
<button class="btn btn-danger" wire:click="delete({{$for['id']}})">Eliminar</button>
</td>
</tr>
@endforeach
@endif
</table>
<center><h2>Lo que más me Gusta</h2></center>
<div class="table-responsive">
<table class="table table-striped table-bordered table-condensed table-hover">
<thead>
<th>Cuestionante </th>
<th>Opciones </th>
</thead>
@if(array_key_exists(2, $formulario1))
@foreach ($formulario1[2] as $for)
<tr>
<td>{{ $for["custionante"] }}</td>
<td>
<table>
<tr>
<td>
<button class="btn btn-info" wire:click="edit({{ $for['id'] }})">Editar</button>
</td>
<td>
<button class="btn btn-danger" wire:click="delete({{$for['id']}})">Eliminar</button>
</td>
</tr>
</table>
</td>
</tr>
@endforeach
@endif
</table>
</div>
<center><h2>Lo que menos me Gusta</h2></center>
<div class="table-responsive">
<table class="table table-striped table-bordered table-condensed table-hover">
<thead>
<th>Cuestionante </th>
<th>Opciones </th>
</thead>
@if(array_key_exists(3, $formulario1))
@foreach ($formulario1[3] as $for)
<tr>
<td>{{ $for["custionante"] }}</td>
<td>
<table>
<tr>
<td>
<button class="btn btn-info" wire:click="edit({{ $for['id'] }})">Editar</button>
</td>
<td>
<button class="btn btn-danger" wire:click="delete({{$for['id']}})">Eliminar</button>
</td>
</tr>
</table>
</td>
</tr>
@endforeach
@endif
</table>
</div>
<center><h2>Puntos que te parecen en los que podemos seguir trabajando</h2></center>
<div class="table-responsive">
<table class="table table-striped table-bordered table-condensed table-hover">
<thead>
<th>Cuestionante </th>
<th>Opciones </th>
</thead>
@if(array_key_exists(4, $formulario1))
@foreach ($formulario1[4] as $for)
<tr>
<td>{{ $for["custionante"] }}</td>
<td>
<table>
<tr>
<td>
<button class="btn btn-info" wire:click="edit({{ $for['id'] }})">Editar</button>
</td>
<td>
<button class="btn btn-danger" wire:click="delete({{$for['id']}})">Eliminar</button>
</td>
</tr>
</table>
</td>
</tr>
@endforeach
@endif
</table>
</div>
<center><h2>Sugerencias Escritas</h2></center>
<div class="table-responsive">
<table class="table table-striped table-bordered table-condensed table-hover">
<thead>
<th>Cuestionante </th>
<th>Opciones </th>
</thead>
@if(array_key_exists(5, $formulario1))
@foreach ($formulario1[5] as $for)
<tr>
<td>{{ $for["custionante"] }}</td>
<td>
<table>
<tr>
<td>
<button class="btn btn-info" wire:click="edit({{ $for['id'] }})">Editar</button>
</td>
<td>
<button class="btn btn-danger" wire:click="delete({{$for['id']}})">Eliminar</button>
</td>
</tr>
</table>
</td>
</tr>
@endforeach
@endif
</table>
</div>
</div>
</div>
</div>
</div>
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists