Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. <form action="{{ route ('asignaciones.timeline') }}" method="get"
  2. class="form-inline float-right ml-3 mt-3">
  3. <div class="form-group">
  4. <label for="ubicacion">Ubicación: </label>
  5. <select id="ubicacion" name="ubicacion" class="form-control ml-2 mr-2">
  6. @foreach($ubicaciones as $ubicacion)
  7. <option value="{{ $ubicacion->id }}"
  8. {{ (old('ubicacion') == $ubicacion->id ? 'selected="selected"' : "") }}>
  9. {{ $ubicacion->ubicacion }}
  10. </option>
  11. @endforeach
  12. </select>
  13. </div>
  14. <div class="form-group">
  15. <button class="btn btn-primary" type="submit">Buscar</button>
  16. </div>
  17. {{ var_dump(old('ubicacion')) }}
  18. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement