@extends('layouts.app') @section('content')
Create Company
{{ Html::ul($errors->all()) }} {{ Form::open(array('url' => 'companies/', 'method' => 'POST', 'class' => 'form-horizontal', 'id' => '"maskForm"')) }}
{{ Form::label('title', 'Company Title', array('class' => 'col-lg-3 col-form-label')) }}
{{ Form::text('title', Input::old('title'), array('class' => 'form-control m-input', 'placeholder' => 'Enter your company title', 'required' => 'required')) }} @if ($errors->has('title')) {{ $errors->first('title') }} @endif
{{ Form::label('office_address', 'Office Address', array('class' => 'col-lg-3 col-form-label')) }}
{{ Form::text('office_address', Input::old('office_address'), array('class' => 'form-control m-input', 'placeholder' => 'Enter your company office address')) }} @if ($errors->has('office_address')) {{ $errors->first('office_address') }} @endif
{{ Form::label('office_tele', 'Office Telephone', array('class' => 'col-lg-3 col-form-label')) }}
{{ Form::text('office_tele', Input::old('office_tele'), array('class' => 'form-control m-input', 'placeholder' => 'Enter your company office telephone')) }} @if ($errors->has('office_tele')) {{ $errors->first('office_tele') }} @endif
{{ Form::label('web_url', 'Web Url', array('class' => 'col-lg-3 col-form-label')) }}
{{ Form::text('web_url', Input::old('web_url'), array('class' => 'form-control m-input', 'placeholder' => 'Enter your company web url')) }} @if ($errors->has('web_url')) {{ $errors->first('web_url') }} @endif
{{ Form::label('description', 'Description', array('class' => 'col-lg-3 col-form-label')) }}
{{ Form::textarea('description', Input::old('description'), array('class' => 'form-control m-input', 'placeholder' => 'Enter your company description')) }} @if ($errors->has('description')) {{ $errors->first('description') }} @endif
{{ Form::submit('Create Company!', array('class' => 'btn btn-success')) }} {{ Form::reset('Reset!', array('class' => 'btn btn-secondary')) }}
{{ Form::close() }}
@endsection