-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-added new guard 'company' -added new provider 'companies' -set guard for Company model to company -set middleware for CompanyController to auth:company -created Route for register Company view -created register Company view
- Loading branch information
1 parent
31cf7d4
commit 098e23c
Showing
8 changed files
with
156 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
<x-layout> | ||
<div | ||
class="bg-gray-50 border border-gray-200 p-10 rounded max-w-lg mx-auto mt-24"> | ||
<header class="text-center"> | ||
<h2 class="text-2xl font-bold uppercase mb-1"> | ||
Registrieren | ||
</h2> | ||
<p class="mb-4">Erstelle einen Firmenaccount, um Stellenanzeigen aufzugeben</p> | ||
</header> | ||
|
||
<form method="POST" action="/companies"> | ||
@csrf | ||
<div class="mb-6"> | ||
<label for="name" class="inline-block text-lg mb-2"> | ||
Name | ||
</label> | ||
<input | ||
type="text" | ||
class="border border-gray-200 rounded p-2 w-full" | ||
name="name" | ||
value="{{old('name')}}" | ||
/> | ||
@error('name') | ||
<p class="text-red-500 text-xs mt-1">{{$message}}</p> | ||
@enderror | ||
</div> | ||
|
||
<div class="mb-6"> | ||
<label for="email" class="inline-block text-lg mb-2" | ||
>Email</label | ||
> | ||
<input | ||
type="email" | ||
class="border border-gray-200 rounded p-2 w-full" | ||
name="email" | ||
value="{{old('email')}}" | ||
/> | ||
@error('email') | ||
<p class="text-red-500 text-xs mt-1">{{$message}}</p> | ||
@enderror | ||
</div> | ||
|
||
<div class="mb-6"> | ||
<label | ||
for="password" | ||
class="inline-block text-lg mb-2"> | ||
Passwort | ||
</label> | ||
<input | ||
type="password" | ||
class="border border-gray-200 rounded p-2 w-full" | ||
name="password" | ||
/> | ||
@error('password') | ||
<p class="text-red-500 text-xs mt-1">{{$message}}</p> | ||
@enderror | ||
</div> | ||
|
||
<div class="mb-6"> | ||
<label | ||
for="password2" | ||
class="inline-block text-lg mb-2"> | ||
Passwort bestätigen | ||
</label> | ||
<input | ||
type="password" | ||
class="border border-gray-200 rounded p-2 w-full" | ||
name="password_confirmation" | ||
/> | ||
@error('password_confirmation') | ||
<p class="text-red-500 text-xs mt-1">{{$message}}</p> | ||
@enderror | ||
</div> | ||
|
||
<div class="mb-6"> | ||
<button | ||
type="submit" | ||
class="bg-laravel text-white rounded py-2 px-4 hover:bg-black"> | ||
Erstellen | ||
</button> | ||
</div> | ||
|
||
<div class="mt-8"> | ||
<p> | ||
Du hast bereits einen Account? | ||
<a href="/login" class="text-laravel">Einloggen</a> | ||
</p> | ||
</div> | ||
</form> | ||
</div> | ||
</x-layout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters