@csrf @if(($method??'POST')!=='POST') @method($method) @endif
<div class="mb-3"><label class="form-label" for="name">{{__('projects.project_name')}}</label><input class="form-control @error('name') is-invalid @enderror" id="name" name="name" maxlength="150" required value="{{old('name',$project->name??'')}}">@error('name')<div class="invalid-feedback">{{$message}}</div>@enderror</div>
<div class="mb-4"><label class="form-label" for="website_url">{{__('projects.website_url')}}</label><input class="form-control @error('website_url') is-invalid @enderror" id="website_url" name="website_url" maxlength="2048" required placeholder="https://example.com" value="{{old('website_url',$project->url??'')}}"><div class="form-text">{{__('projects.url_help')}}</div>@error('website_url')<div class="invalid-feedback">{{$message}}</div>@enderror</div>
<button class="btn btn-primary" type="submit">{{$submit}}</button><a class="btn btn-link" href="{{route('projects.index')}}">{{__('projects.cancel')}}</a>
