@extends('layout')
@section('content')
@include('partials.flash')
    <div class="page-header">
	<h5>Register your w0bm.com Account</h5>
<p style="color:red;">Note: I do not reset passwords, make sure to pick a strong password which you can remember, write down/save to your keepass to not lose access, otherwise you would need to create a new account!</p>
    </div>
    <div class="register">
        <form class="form-horizontal" method="post" action="{{action('UserController@store')}}">
            {!! csrf_field() !!}
            <div class="form-group">
                <div class="">
                    {!! Form::text('username', null, ['class' => 'form-control', 'placeholder' => 'Username']) !!}
                </div>
            </div>
            <div class="form-group">
                <div class="">
                    {!! Form::email('email', null, ['class' => 'form-control', 'placeholder' => 'Email | Must be valid! Confirmation will be sent out']) !!}
                </div>
            </div>
            <div class="form-group">
                <div class="">
                    {!! Form::email('email_confirmation', null, ['class' => 'form-control', 'placeholder' => 'Email Confirmation']) !!}
                </div>
            </div>
            <div class="form-group">
                <div class="">
                    {!! Form::password('password', ['class' => 'form-control', 'placeholder' => 'Password']) !!}
                </div>
            </div>
            <div class="form-group">
                <div class="">
                    {!! Form::password('password_confirmation', ['class' => 'form-control', 'placeholder' => 'Password Confirmation']) !!}
                </div>
            </div>
            <div class="form-group">
                        {!!captcha_img('flat')!!} <input class="form-control" type="text" name="captcha" placeholder="Verify Captcha">
            </div>
	    <div class="form-group terms">
		<div style="text-align: center;">
		<p><input type="checkbox" checked required name="terms"> I am at least 18 years or older and I have read and understand the <a href="/rules">Rules</a></p>
		</div>
		<div class="">
            <button type="submit" class="btn btn-primary">Register</button>
                </div>
            </div>
        </form>
    </div>
<!--    <div class="form-group" style="
		text-align: center;
		background: rgba(0, 0, 0, 0.75);
		margin-left: 5px;
                margin-right: 5px;
    				  ">
	<p>By clicking on "Register" you accept our <a href="/rules">Rules</a></p>
	<p>Note: we do NOT reset passwords for now, make sure to save your password correctly</p>
    </div>
-->
@endsection

