]> BookStack Code Mirror - bookstack/blob - resources/views/auth/register.blade.php
Updated Swedish translation
[bookstack] / resources / views / auth / register.blade.php
1 @extends('public')
2
3 @section('header-buttons')
4     <a href="{{ baseUrl("/login") }}">@icon('login') {{ trans('auth.log_in') }}</a>
5 @stop
6
7 @section('content')
8
9     <div class="text-center">
10         <div class="card center-box">
11             <h3>@icon('new-user')  {{ title_case(trans('auth.sign_up')) }}</h3>
12             <div class="body">
13                 <form action="{{ baseUrl("/register") }}" method="POST">
14                     {!! csrf_field() !!}
15
16                     <div class="form-group">
17                         <label for="email">{{ trans('auth.name') }}</label>
18                         @include('form/text', ['name' => 'name'])
19                     </div>
20
21                     <div class="form-group">
22                         <label for="email">{{ trans('auth.email') }}</label>
23                         @include('form/text', ['name' => 'email'])
24                     </div>
25
26                     <div class="form-group">
27                         <label for="password">{{ trans('auth.password') }}</label>
28                         @include('form/password', ['name' => 'password', 'placeholder' => trans('auth.password_hint')])
29                     </div>
30
31                     <div class="from-group">
32                         <button class="button block pos">{{ trans('auth.create_account') }}</button>
33                     </div>
34                 </form>
35
36                 @if(count($socialDrivers) > 0)
37                     <hr class="margin-top">
38                     @foreach($socialDrivers as $driver => $name)
39                         <a id="social-register-{{$driver}}" class="button block muted-light svg text-left" href="{{ baseUrl("/register/service/" . $driver) }}">
40                             @icon('auth/' . $driver)
41                             {{ trans('auth.sign_up_with', ['socialDriver' => $name]) }}
42                         </a>
43                     @endforeach
44                 @endif
45             </div>
46         </div>
47     </div>
48
49
50 @stop