| 
									
										
										
										
											2015-09-06 00:42:05 +08:00
										 |  |  | @extends('public') | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | @section('header-buttons') | 
					
						
							| 
									
										
										
										
											2016-11-14 00:34:28 +08:00
										 |  |  |     <a href="{{ baseUrl("/login") }}"><i class="zmdi zmdi-sign-in"></i>{{ trans('auth.log_in') }}</a> | 
					
						
							| 
									
										
										
										
											2015-09-06 00:42:05 +08:00
										 |  |  | @stop | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | @section('content') | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <div class="text-center"> | 
					
						
							|  |  |  |         <div class="center-box"> | 
					
						
							| 
									
										
										
										
											2016-11-14 00:34:28 +08:00
										 |  |  |             <h1>{{ title_case(trans('auth.sign_up')) }}</h1> | 
					
						
							| 
									
										
										
										
											2015-09-06 00:42:05 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-08-14 19:29:35 +08:00
										 |  |  |             <form action="{{ baseUrl("/register") }}" method="POST"> | 
					
						
							| 
									
										
										
										
											2015-09-06 00:42:05 +08:00
										 |  |  |                 {!! csrf_field() !!} | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |                 <div class="form-group"> | 
					
						
							| 
									
										
										
										
											2016-11-14 00:34:28 +08:00
										 |  |  |                     <label for="email">{{ trans('auth.name') }}</label> | 
					
						
							| 
									
										
										
										
											2015-09-06 00:42:05 +08:00
										 |  |  |                     @include('form/text', ['name' => 'name']) | 
					
						
							|  |  |  |                 </div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |                 <div class="form-group"> | 
					
						
							| 
									
										
										
										
											2016-11-14 00:34:28 +08:00
										 |  |  |                     <label for="email">{{ trans('auth.email') }}</label> | 
					
						
							| 
									
										
										
										
											2015-09-06 00:42:05 +08:00
										 |  |  |                     @include('form/text', ['name' => 'email']) | 
					
						
							|  |  |  |                 </div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |                 <div class="form-group"> | 
					
						
							| 
									
										
										
										
											2016-11-14 00:34:28 +08:00
										 |  |  |                     <label for="password">{{ trans('auth.password') }}</label> | 
					
						
							|  |  |  |                     @include('form/password', ['name' => 'password', 'placeholder' => trans('auth.password_hint')]) | 
					
						
							| 
									
										
										
										
											2015-09-06 00:42:05 +08:00
										 |  |  |                 </div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |                 <div class="from-group"> | 
					
						
							| 
									
										
										
										
											2016-11-14 00:34:28 +08:00
										 |  |  |                     <button class="button block pos">{{ trans('auth.create_account') }}</button> | 
					
						
							| 
									
										
										
										
											2015-09-06 00:42:05 +08:00
										 |  |  |                 </div> | 
					
						
							|  |  |  |             </form> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |             @if(count($socialDrivers) > 0) | 
					
						
							|  |  |  |                 <hr class="margin-top"> | 
					
						
							| 
									
										
										
										
											2017-02-05 23:28:53 +08:00
										 |  |  |                 @foreach($socialDrivers as $driver => $name) | 
					
						
							|  |  |  |                     <a id="social-register-{{$driver}}" class="button block muted-light svg text-left" href="{{ baseUrl("/register/service/" . $driver) }}"> | 
					
						
							|  |  |  |                         @icon($driver) | 
					
						
							|  |  |  |                         {{ trans('auth.sign_up_with', ['socialDriver' => $name]) }} | 
					
						
							|  |  |  |                     </a> | 
					
						
							| 
									
										
										
										
											2017-02-04 19:01:49 +08:00
										 |  |  |                 @endforeach | 
					
						
							| 
									
										
										
										
											2015-09-06 00:42:05 +08:00
										 |  |  |             @endif | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | @stop |