@extends('layouts.master') @section('title') User Generator @stop @section('head') @stop @section('content')

Random User Generator

Use this generator to create random users for testing purposes.

Go Back

Optional Includes: {!! Form::open(['url' => 'user', 'class' => 'pure-form pure-form-aligned'] ) !!}
{!! Form::label('birthday', 'Birthday') !!} {!! Form::checkbox('birthday', 1) !!}
{!! Form::label('company', 'Employer') !!} {!! Form::checkbox('company', 1) !!}
{!! Form::label('phrase', 'Phrase') !!} {!! Form::checkbox('phrase', 1) !!}
{!! Form::label('numUsers', 'Number of Users') !!} {!! Form::selectRange('numUsers', 1,5) !!}
{!! Form::submit('Generate', ['class' => 'pure-button pure-button-primary']) !!} Show JSON
{!! Form::close() !!}
@for ( $i=0; $i <= count($userAr)-1; $i++ )
Headshot

@endfor
       {!!$jsonAr!!}
   
@stop {{-- This short javascript is used to toggle the visibility of the JSON formatted user output. --}} @section('body') @stop