@php $fields = [ 'username' => 'Username', 'email' => 'Email', 'password' => 'Password', 'password_confirmation' => 'Confirm Password' ]; @endphp @extends('layouts.app') @section('title', 'Register') @section('content')
REGISTER

Make sure your password is unique!

@if ($errors->any())
{{ $errors->first() }}
@endif
@csrf @foreach($fields as $field => $label) ($errors->first($field) != null)]) placeholder="{{ $label }}" name="{{ $field }}" :value="old($field)" /> @endforeach
Already have an account?

By creating an account, you agree to our Terms of Service and our Privacy Policy.

@endsection