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.3 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-4">Manager</h3>
|
---|
| 7 | @if($artist->manager != null)
|
---|
| 8 | <div class="manager mb-2 justify-content-between">
|
---|
| 9 | <form action="/{{Auth::user()->username}}/manager/remove" method="POST">
|
---|
| 10 | @csrf
|
---|
| 11 | <h5 class="float-start">{{ $artist->manager->user->name . ' | ' . $artist->manager->user->email }}</h5>
|
---|
| 12 | <button type="submit" class="btn btn-danger float-end">Remove Manager</button>
|
---|
| 13 | </form>
|
---|
| 14 | </div>
|
---|
| 15 | @else
|
---|
| 16 | <h5 class="mb-2">Invite Manager</h5>
|
---|
| 17 | <form action="/artists/manager/invite" method="POST">
|
---|
| 18 | @csrf
|
---|
| 19 | <div class="mb-3">
|
---|
| 20 | <label for="managerEmail" class="form-label">Email address</label>
|
---|
| 21 | <input type="email" class="form-control" id="managerEmail" name="email"
|
---|
| 22 | placeholder="name@example.com" required>
|
---|
| 23 | <button type="submit" class="btn btn-primary mt-2">Invite</button>
|
---|
| 24 | </div>
|
---|
| 25 | </form>
|
---|
| 26 | @endif
|
---|
| 27 | </div>
|
---|
| 28 | </div>
|
---|
| 29 | @endsection
|
---|
Note:
See
TracBrowser
for help on using the repository browser.