Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
Sedes y Historial
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc15975 committed Nov 24, 2022
1 parent cf5dd21 commit 832d9b2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions resources/views/admin/Sedes/create.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
<div class="card-header">Registro de Sedes</div>
<div class="card-body">

<form action="{{ url('sedes') }}" method="post">
<form action="{{ url('sedes') }}" class="was-validated" method="post">
{!! csrf_field() !!}
<label>Nombre sede</label></br>
<input type="text" name="nombre_sede" id="nombre_sede" class="form-control"></br>
<input type="text" name="nombre_sede" id="nombre_sede" class="form-control" required></br>
<label>Direccion de sede</label></br>
<input type="text" name="direccion_sede" id="direccion_sede" class="form-control"></br>
<input type="text" name="direccion_sede" id="direccion_sede" class="form-control" required></br>
<label>Telefono de la Sede</label></br>
<input type="text" name="telefono_sede" id="telefono_sede" class="form-control"></br>
<input type="text" name="telefono_sede" id="telefono_sede" class="form-control" required></br>

<label>Ciudad Sede</label></br>
<select class="form-select" name="ciudad_sede" id="ciudad_sede" aria-label="Default select example">
<option selected>Selecione la ciudad</option>
<select class="form-select" name="ciudad_sede" id="ciudad_sede" required aria-label="Default select example">
<option selected value="">Selecione la ciudad</option>
<option value="La Paz">La Paz</option>
<option value="Santa Cruz">Santa cruz</option>
<option value="Cochabamba">Cochabamba</option>
Expand Down
10 changes: 5 additions & 5 deletions resources/views/admin/Sedes/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
<div class="card-header">Editar Sede</div>
<div class="card-body">

<form action="{{ url('sedes/' .$Sede->id_sede) }}" method="post">
<form action="{{ url('sedes/' .$Sede->id_sede) }}" class="was-validated" method="post">
{!! csrf_field() !!}
@method("PATCH")
<input type="hidden" name="Id_Sede" id="Id_Sede" value="{{$Sede->id_sede}}" />

<label>Name</label></br>
<input type="text" name="nombre_sede" id="nombre_sede" value="{{$Sede->nombre_sede}}" class="form-control"></br>
<input type="text" required name="nombre_sede" id="nombre_sede" value="{{$Sede->nombre_sede}}" class="form-control"></br>
<label>Dirrecion de la sede</label></br>
<input type="text" name="direccion_sede" id="direccion_sede" value="{{$Sede->direccion_sede}}" class="form-control"></br>
<input type="text" required name="direccion_sede" id="direccion_sede" value="{{$Sede->direccion_sede}}" class="form-control"></br>
<label>telefono_sede</label></br>
<input type="text" name="telefono_sede" id="telefono_sede" value="{{$Sede->telefono_sede}}" class="form-control"></br>
<input type="text" required name="telefono_sede" id="telefono_sede" value="{{$Sede->telefono_sede}}" class="form-control"></br>
<label>Ciudad sede</label></br>
<select class="form-select" name="ciudad_sede" id="ciudad_sede" aria-label="Default select example">
<select class="form-select" required name="ciudad_sede" id="ciudad_sede" aria-label="Default select example">
<option selected>Selecione la ciudad</option>
<option value="La Paz">La Paz</option>
<option value="Santa Cruz">Santa cruz</option>
Expand Down

0 comments on commit 832d9b2

Please sign in to comment.