]> BookStack Code Mirror - bookstack/blob - resources/views/auth/register.blade.php
Updated styles to use logical properties/values
[bookstack] / resources / views / auth / register.blade.php
1 @extends('simple-layout')
2
3 @section('content')
4     <div class="container very-small">
5
6         <div class="my-l">&nbsp;</div>
7
8         <div class="card content-wrap auto-height">
9             <h1 class="list-heading">{{ Str::title(trans('auth.sign_up')) }}</h1>
10
11             <form action="{{ url("/register") }}" method="POST" class="mt-l stretch-inputs">
12                 {!! csrf_field() !!}
13
14                 <div class="form-group">
15                     <label for="email">{{ trans('auth.name') }}</label>
16                     @include('form.text', ['name' => 'name'])
17                 </div>
18
19                 <div class="form-group">
20                     <label for="email">{{ trans('auth.email') }}</label>
21                     @include('form.text', ['name' => 'email'])
22                 </div>
23
24                 <div class="form-group">
25                     <label for="password">{{ trans('auth.password') }}</label>
26                     @include('form.password', ['name' => 'password', 'placeholder' => trans('auth.password_hint')])
27                 </div>
28
29                 <div class="grid half collapse-xs gap-xl v-center mt-m">
30                     <div class="text-small">
31                         <a href="{{ url('/login') }}">{{ trans('auth.already_have_account') }}</a>
32                     </div>
33                     <div class="from-group text-right">
34                         <button class="button">{{ trans('auth.create_account') }}</button>
35                     </div>
36                 </div>
37
38
39             </form>
40
41             @if(count($socialDrivers) > 0)
42                 <hr class="my-l">
43                 @foreach($socialDrivers as $driver => $name)
44                     <div>
45                         <a id="social-register-{{$driver}}" class="button block outline svg" href="{{ url("/register/service/" . $driver) }}">
46                             @icon('auth/' . $driver)
47                             <span>{{ trans('auth.sign_up_with', ['socialDriver' => $name]) }}</span>
48                         </a>
49                     </div>
50                 @endforeach
51             @endif
52
53         </div>
54     </div>
55 @stop