HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: /home/mmickelson/spilicensing/resources/views/purchaser/create.blade.php
@extends('layouts.master')

@section('content')

    <h1>Create New Purchaser</h1>
    <hr/>

    {!! Form::open(['url' => 'purchaser', 'class' => 'form-horizontal']) !!}

                <div class="form-group {{ $errors->has('contactName') ? 'has-error' : ''}}">
                {!! Form::label('contactName', 'Contactname: ', ['class' => 'col-sm-3 control-label']) !!}
                <div class="col-sm-6">
                    {!! Form::text('contactName', null, ['class' => 'form-control', 'required' => 'required']) !!}
                    {!! $errors->first('contactName', '<p class="help-block">:message</p>') !!}
                </div>
            </div>
            <div class="form-group {{ $errors->has('contactEmail') ? 'has-error' : ''}}">
                {!! Form::label('contactEmail', 'Contactemail: ', ['class' => 'col-sm-3 control-label']) !!}
                <div class="col-sm-6">
                    {!! Form::text('contactEmail', null, ['class' => 'form-control']) !!}
                    {!! $errors->first('contactEmail', '<p class="help-block">:message</p>') !!}
                </div>
            </div>
            <div class="form-group {{ $errors->has('contactPhone') ? 'has-error' : ''}}">
                {!! Form::label('contactPhone', 'Contactphone: ', ['class' => 'col-sm-3 control-label']) !!}
                <div class="col-sm-6">
                    {!! Form::text('contactPhone', null, ['class' => 'form-control']) !!}
                    {!! $errors->first('contactPhone', '<p class="help-block">:message</p>') !!}
                </div>
            </div>
            <div class="form-group {{ $errors->has('organization') ? 'has-error' : ''}}">
                {!! Form::label('organization', 'Organization: ', ['class' => 'col-sm-3 control-label']) !!}
                <div class="col-sm-6">
                    {!! Form::text('organization', null, ['class' => 'form-control']) !!}
                    {!! $errors->first('organization', '<p class="help-block">:message</p>') !!}
                </div>
            </div>


    <div class="form-group">
        <div class="col-sm-offset-3 col-sm-3">
            {!! Form::submit('Create', ['class' => 'btn btn-primary form-control']) !!}
        </div>
    </div>
    {!! Form::close() !!}

    @if ($errors->any())
        <ul class="alert alert-danger">
            @foreach ($errors->all() as $error)
                <li>{{ $error }}</li>
            @endforeach
        </ul>
    @endif

@endsection