@extends('layouts.master') @section('title', 'PetroERP- An ERP for Petrol Pumps') @section('content')
Region

New Region

{!! Form::open(['action' => 'RegionsController@search', 'method' => 'GET', 'class' => 'form-horizontal']) !!} {!! Form::close() !!} {!! Form::open(['action' => 'RegionsController@store', 'method' => 'POST', 'class' => 'form-horizontal space-top', 'data-parsley-validate']) !!}
{{Form::label('countryId', 'Country', ['class'=>'required col-md-3'])}}
{{Form::select('countryId', $country, null, ['placeholder' => 'Pick a country...', 'required'])}}
{{Form::label('name', 'Region/State Name', ['class'=>'required col-md-3'])}}
{{Form::text('name', '', ['class'=>'form-control', 'placeholder'=>'Region Name', 'required'])}}
{{Form::submit('Submit', ['class'=>'btn btn-primary'])}} {{Form::reset('Reset', ['class'=>'btn btn-primary'])}}
{!! Form::close() !!}
@endsection