Open sidebar
@extends('layouts.layout') @section('content') <div class="row"> <section class="content"> <div class="col-md-12 col-md-offset-0"> @if(Session::has('success')) <div class="alert alert-info"> {{Session::get('success')}} </div> @endif <div class="panel panel-default"> <div class="panel-body"> <div class="pull-left"><h3>Usuarios votantes</h3></div> <div class="pull-right"> <div class="btn-group"> <div class="col-md-6"> <select name="tipo" id="tipo" class=" form-control" value="{{ old('tipo') }}" required> @foreach($usuariosOpciones as $id => $usuario_ad) <option value="{{ $id }}">{{ $usuario_ad }}</option> </select> <form action="{{route('registros.show', $id->$usuario_ad)}}" method="POST"> {{csrf_field()}} <a class="btn btn-info" >Buscar</a> </form> @endforeach </div> </div> </div> <div class="table-container"> <table id="mytable" class="table table-bordred table-striped"> <thead> <th>Usuario_ad</th> <th>Nombre</th> <th>Apellido</th> <th>Cedula</th> <th>Telefonos</th> <th>Direccion</th> <th>barrio</th> <th>Lugar_v</th> <th>Mesa_v</th> <th>Email</th> <th>Ciudad</th> <th>Editar</th> <th>Eliminar</th> </thead> <tbody> @if($usuarios->count()) @foreach($usuarios as $usuario) <tr> <td>{{$usuario->usuario_ad}}</td> <td>{{$usuario->nombre}}</td> <td>{{$usuario->apellido}}</td> <td>{{$usuario->cedula}}</td> <td>{{$usuario->telefonos}}</td> <td>{{$usuario->direccion}}</td> <td>{{$usuario->barrio}}</td> <td>{{$usuario->lugar_votacion}}</td> <td>{{$usuario->mesa_votacion}}</td> <td>{{$usuario->email}}</td> <td>{{$usuario->ciudad}}</td> <td><a class="btn btn-primary btn-xs" href="{{action('UsuarioController@edit', $usuario->id)}}" ><span class="glyphicon glyphicon-pencil"></span></a></td> <td> <form action="{{action('UsuarioController@destroy', $usuario->id)}}" method="post"> {{csrf_field()}} <input name="_method" type="hidden" value="DELETE"> <button class="btn btn-danger btn-xs" type="submit"><span class="glyphicon glyphicon-trash"></span></button> </form> </td> </tr> @endforeach @else <tr> <td colspan="8">No hay registro !!</td> </tr> @endif </tbody> </table> </div> </div> {{ $usuarios->links() }} </div> </div> <div class="btn-group" href=text-align:center> <center><a class="btn btn-info" >HOME</a></center> </div> </section> @endsection
Close sidebar
Back
Please note that all pasted data is publicly available.
Twitter
GitHub
Use setting
Back
Please note that all pasted data is publicly available.
Twitter
GitHub
Use setting