Session message on fail - Users / Roles / Events
This commit is contained in:
@@ -17,8 +17,9 @@
|
||||
@csrf
|
||||
<input type="text" class="form-controller" id="search" name="search" placeholder="Søg på Evt Navn, Evt Dato"></input>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
{!! session()->get('EventNameExists') !!}
|
||||
|
||||
<table class="tbl mt-2">
|
||||
<tr>
|
||||
<th>Event Navn</th>
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
@csrf
|
||||
<input type="text" class="form-controller" id="search" name="search" placeholder="Søg efter navn"></input>
|
||||
</form>
|
||||
|
||||
|
||||
</div>
|
||||
{!! session()->get('RoleNameExists') !!}
|
||||
|
||||
<table class="tbl mt-2">
|
||||
<tr>
|
||||
<th>Navn</th>
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
@section("content")
|
||||
<h1>Opret Bruger:</h1>
|
||||
{!! session()->get('error#notsamepass') !!}
|
||||
{!! session()->get('EmailExists') !!}
|
||||
{!! session()->get('PhoneExists') !!}
|
||||
<form method="post" action="{{ route("users.store") }}">
|
||||
@csrf
|
||||
<label for="name_first">Fornavn:</label>
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
@section("content")
|
||||
<h1>Rediger Bruger:</h1>
|
||||
{!! session()->get('error#notsamepass') !!}
|
||||
{!! session()->get('EmailExists') !!}
|
||||
{!! session()->get('PhoneExists') !!}
|
||||
<form method="post" action="{{ route("users.update", ['user' => $user]) }}">
|
||||
@csrf
|
||||
@method("put")
|
||||
|
||||
Reference in New Issue
Block a user