Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form action="{{ route ('asignaciones.timeline') }}" method="get"
- class="form-inline float-right ml-3 mt-3">
- <div class="form-group">
- <label for="ubicacion">Ubicación: </label>
- <select id="ubicacion" name="ubicacion" class="form-control ml-2 mr-2">
- @foreach($ubicaciones as $ubicacion)
- <option value="{{ $ubicacion->id }}"
- {{ (old('ubicacion') == $ubicacion->id ? 'selected="selected"' : "") }}>
- {{ $ubicacion->ubicacion }}
- </option>
- @endforeach
- </select>
- </div>
- <div class="form-group">
- <button class="btn btn-primary" type="submit">Buscar</button>
- </div>
- {{ var_dump(old('ubicacion')) }}
- </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement