Last change
on this file since dfae77e was dfae77e, checked in by Igor Danilovski <igor_danilovski@…>, 2 years ago |
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[dfae77e] | 1 | @extends('layouts.app')
|
---|
| 2 |
|
---|
| 3 | @section('content')
|
---|
| 4 | <div class="container">
|
---|
| 5 | <div class="row justify-content-center">
|
---|
| 6 | <h3 class="mb-3">Create Offer</h3>
|
---|
| 7 | <h5 class="mb-4">Send Proposal to {{ $artist->user->name }}</h5>
|
---|
| 8 | <form method="POST" action="/offers/create">
|
---|
| 9 | @csrf
|
---|
| 10 | <input type="hidden" name="artist_id" value="{{ $artist->user_id }}">
|
---|
| 11 | @if (count($events) > 0)
|
---|
| 12 | <label for="event_id">Choose event</label>
|
---|
| 13 | <br/>
|
---|
| 14 | <select name="event_id" class="form-select" id="event_id">
|
---|
| 15 | @foreach($events as $event)
|
---|
| 16 | <option value="{{ $event->id }}">{{ $event->title }}</option>
|
---|
| 17 | @endforeach
|
---|
| 18 | </select>
|
---|
| 19 | <br>
|
---|
| 20 |
|
---|
| 21 | <button type="submit" class="btn btn-primary d-flex mt-4 mb-3">Send Request</button>
|
---|
| 22 | @endif
|
---|
| 23 | <a href="/events/create/{{ $artist->user->username }}">Create new event</a>
|
---|
| 24 | </form>
|
---|
| 25 | </div>
|
---|
| 26 | </div>
|
---|
| 27 | @endsection
|
---|
Note:
See
TracBrowser
for help on using the repository browser.