|
| 1 | +@extends('layouts.app') |
| 2 | + |
| 3 | +@section('content') |
| 4 | + |
| 5 | + <div class="pa4-l"> |
| 6 | + <form class="bg-near-white mw6 center pa4 br2-ns ba b--black-10" method="POST" action="{{ route('register') }}"> |
| 7 | + {{ csrf_field() }} |
| 8 | + <fieldset class="cf bn ma0 pa0"> |
| 9 | + <legend class="pa0 f4-ns mb3 black-80">Register</legend> |
| 10 | + <div class="cf"> |
| 11 | + <label class="clip" for="name">Name</label> |
| 12 | + <input |
| 13 | + class="f6 f5-l input-reset black-80 bg-white pa3 lh-solid w-100 br2-ns @if ($errors->has('name')) ba b--light-red @else bn @endif" |
| 14 | + placeholder="Name" |
| 15 | + type="text" |
| 16 | + name="name" |
| 17 | + value="{{ old('name') }}" |
| 18 | + id="name"> |
| 19 | + @if ($errors->has('name')) |
| 20 | + <p class="light-red f5 mt1">{{ $errors->first('name') }}</p> |
| 21 | + @endif |
| 22 | + |
| 23 | + <label class="clip" for="email">Email Address</label> |
| 24 | + <input |
| 25 | + class="f6 mt3 f5-l input-reset black-80 bg-white pa3 lh-solid w-100 br2-ns @if ($errors->has('email')) ba b--light-red @else bn @endif" |
| 26 | + placeholder="Your Email Address" |
| 27 | + type="text" |
| 28 | + name="email" |
| 29 | + value="{{ old('email') }}" |
| 30 | + id="email"> |
| 31 | + @if ($errors->has('email')) |
| 32 | + <p class="light-red f5 mt1">{{ $errors->first('email') }}</p> |
| 33 | + @endif |
| 34 | + |
| 35 | + <input |
| 36 | + class="f6 f5-l input-reset black-80 bg-white pa3 lh-solid w-100 mt3 br2-ns @if ($errors->has('password'))ba b--light-red @else bn @endif" |
| 37 | + type="password" |
| 38 | + name="password" |
| 39 | + value="" |
| 40 | + id="password" |
| 41 | + placeholder="Password"> |
| 42 | + @if ($errors->has('password')) |
| 43 | + <p class="light-red f5 mt1">{{ $errors->first('password') }}</p> |
| 44 | + @endif |
| 45 | + |
| 46 | + <input |
| 47 | + class="f6 f5-l input-reset black-80 bg-white pa3 lh-solid w-100 mt3 br2-ns @if ($errors->has('password_confirmation')) ba b--light-red @else bn @endif" |
| 48 | + type="password" |
| 49 | + name="password_confirmation" |
| 50 | + value="" |
| 51 | + id="password_confirmation" |
| 52 | + placeholder="Confirm Password"> |
| 53 | + @if ($errors->has('password_confirmation')) |
| 54 | + <p class="light-red f5 mt1">{{ $errors->first('password_confirmation') }}</p> |
| 55 | + @endif |
| 56 | + |
| 57 | + <input |
| 58 | + class="f6 f5-l button-reset pv3 fr tc bn bg-animate bg-black-70 hover-bg-black white pointer w-100 w-25-m w-20-l br2-ns mt3" |
| 59 | + type="submit" |
| 60 | + value="Register"> |
| 61 | + </div> |
| 62 | + </fieldset> |
| 63 | + </form> |
| 64 | + </div> |
| 65 | +@endsection |
0 commit comments