BookStack/resources/views/auth/register.blade.php

56 lines
2.1 KiB
PHP
Raw Normal View History

@extends('simple-layout')
2015-09-05 12:42:05 -04:00
@section('content')
<div class="container very-small">
2015-09-05 12:42:05 -04:00
<div class="my-l">&nbsp;</div>
<div class="card content-wrap auto-height">
2019-09-14 09:12:39 -04:00
<h1 class="list-heading">{{ Str::title(trans('auth.sign_up')) }}</h1>
<form action="{{ url("/register") }}" method="POST" class="mt-l stretch-inputs">
{!! csrf_field() !!}
<div class="form-group">
<label for="email">{{ trans('auth.name') }}</label>
@include('form.text', ['name' => 'name'])
</div>
<div class="form-group">
<label for="email">{{ trans('auth.email') }}</label>
@include('form.text', ['name' => 'email'])
</div>
<div class="form-group">
<label for="password">{{ trans('auth.password') }}</label>
@include('form.password', ['name' => 'password', 'placeholder' => trans('auth.password_hint')])
</div>
<div class="grid half collapse-xs gap-xl v-center mt-m">
<div class="text-small">
<a href="{{ url('/login') }}">{{ trans('auth.already_have_account') }}</a>
</div>
<div class="from-group text-right">
<button class="button">{{ trans('auth.create_account') }}</button>
</div>
</div>
</form>
@if(count($socialDrivers) > 0)
<hr class="my-l">
@foreach($socialDrivers as $driver => $name)
<div>
<a id="social-register-{{$driver}}" class="button block outline svg" href="{{ url("/register/service/" . $driver) }}">
2018-02-17 08:30:52 -05:00
@icon('auth/' . $driver)
<span>{{ trans('auth.sign_up_with', ['socialDriver' => $name]) }}</span>
</a>
</div>
@endforeach
@endif
2015-09-05 12:42:05 -04:00
</div>
</div>
@stop