Skip to content
Snippets Groups Projects
Commit e60eb461 authored by SARPCAN ERCAN's avatar SARPCAN ERCAN :hourglass_flowing_sand:
Browse files

changement du nom pour respecter le tp

parent 9dda4541
No related merge requests found
@extends('layouts.app')
@section('title','Birds from place')
@section('main')
@parent
<form action="{{ route('birdfromplace') }}" method="post">
@csrf
<label for="bird_place">Place</label> <input type="text" id="place" name="place" required autofocus>
<input type="submit" value="Find">
<form>
@isset($birds)
@foreach ($birds as $bird)
<hr>
<article>
<h2>{{$loop->index + 1}} - {{ $bird->species }}</h2>
<section>
<ul>
<li>
Place: {{ $bird->place }}
</li>
<li>
Date: {{ $bird->observed_on }}
</li>
</ul>
</section>
<section>
<a href="bird/{{ $bird->id }}">Details</a> -
<a href="deletebird/{{ $bird->id }}">Delete</a>
</section>
</article>
@endforeach
@endisset
@include('shared.backhome')
@endsection
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment