Merge branch 'master' of https://github.com/sebathefox/skolehjem-webapp
This commit is contained in:
@@ -13,20 +13,20 @@
|
||||
<h1>Opret Menuplan:</h1>
|
||||
<form action="{{ action('MenuPlanController@store') }}" method="post">
|
||||
@csrf
|
||||
<label for="mandag">Mandag:</label>
|
||||
<input type="text" name="mandag" id="mandag" required>
|
||||
<label for="tirsdag">Tirsdag:</label>
|
||||
<input type="text" name="tirsdag" id="tirsdag" required>
|
||||
<label for="onsdag">Onsdag:</label>
|
||||
<input type="text" name="onsdag" id="onsdag" required>
|
||||
<label for="torsdag">Torsdag:</label>
|
||||
<input type="text" name="torsdag" id="torsdag" required>
|
||||
<label for="fredag">Fredag:</label>
|
||||
<input type="text" name="fredag" id="fredag" required>
|
||||
<label for="lørdag">Lørdag:</label>
|
||||
<input type="text" name="lørdag" id="lørdag" required>
|
||||
<label for="søndag">Søndag:</label>
|
||||
<input type="text" name="søndag" id="søndag" required>
|
||||
<label for="monday">Mandag:</label>
|
||||
<input type="text" name="monday" id="monday" required>
|
||||
<label for="tuesday">Tirsdag:</label>
|
||||
<input type="text" name="tuesday" id="tuesday" required>
|
||||
<label for="wednesday">Onsdag:</label>
|
||||
<input type="text" name="wednesday" id="wednesday" required>
|
||||
<label for="thursday">Torsdag:</label>
|
||||
<input type="text" name="thursday" id="thursday" required>
|
||||
<label for="friday">Fredag:</label>
|
||||
<input type="text" name="friday" id="friday" required>
|
||||
<label for="saturday">Lørdag:</label>
|
||||
<input type="text" name="saturday" id="saturday" required>
|
||||
<label for="sunday">Søndag:</label>
|
||||
<input type="text" name="sunday" id="sunday" required>
|
||||
|
||||
<input type="submit" class="btn btn-dark text-white" value="Opret Menuplan">
|
||||
</form>
|
||||
|
||||
@@ -24,13 +24,13 @@
|
||||
</tr>
|
||||
@foreach($menuPlans as $menuplan)
|
||||
<tr>
|
||||
<th>{Mandag}</th>
|
||||
<th>{Tirsdag}</th>
|
||||
<th>{Onsdag}</th>
|
||||
<th>{Torsdag}</th>
|
||||
<th>{Fredag}</th>
|
||||
<th>{Lørdag}</th>
|
||||
<th>{Søndag}</th>
|
||||
<th>{{$menuplan->monday}}</th>
|
||||
<th>{{$menuplan->tuesday}}</th>
|
||||
<th>{{$menuplan->wednesday}}</th>
|
||||
<th>{{$menuplan->thursday}}</th>
|
||||
<th>{{$menuplan->friday}}</th>
|
||||
<th>{{$menuplan->saturday}}</th>
|
||||
<th>{{$menuplan->sunday}}</th>
|
||||
<td><a href=""><img class="w-100" src="{{ asset('/images/icons/pencil-dark.svg') }}" alt="Update"></a></td>
|
||||
<td><a href=""><img class="w-100" src="{{ asset('/images/icons/trashcan-dark.svg') }}" alt="Delete"></a></td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user