daily pastebin goal
24%
SHARE
TWEET

Untitled

a guest Feb 22nd, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top