@extends('header') @section('content') @parent {!! Former::open_for_files()->addClass('warn-on-exit')->rules(array( 'first_name' => 'required', 'last_name' => 'required', 'email' => 'email|required' )) !!} {{ Former::populate($account) }} {{ Former::populateField('first_name', $user->first_name) }} {{ Former::populateField('last_name', $user->last_name) }} {{ Former::populateField('email', $user->email) }} {{ Former::populateField('phone', $user->phone) }} @if (Utils::isNinjaDev()) {{ Former::populateField('dark_mode', intval($user->dark_mode)) }} @endif @if (Input::has('affiliate')) {{ Former::populateField('referral_code', true) }} @endif @if (Utils::isAdmin()) @include('accounts.nav', ['selected' => ACCOUNT_USER_DETAILS]) @endif