@extends('admin.layouts.master') @section('content')
{!! Form::open(array('route' => \App\Helpers\Helper::adminPrefix(). '.store', 'name' => 'user-form', 'id' => 'user-form', 'autocomplete' => 'off')) !!}

{{ __('Create') }} {{ \App\Helpers\Helper::pagePrefix(2) }}

{!! Form::label('carrier', 'Name :', ['class' => 'control-label']) !!} {!! Form::text('carrier', old('carrier'), ['class' => $errors->has('carrier') ? 'form-control is-invalid' : 'form-control', 'id' => 'carrier', 'placeholder' => 'Carrier name']) !!} @if ($errors->has('carrier')) {{ $errors->first('carrier') }} @endif
{!! Form::label('country_code', 'Country Code :', ['class' => 'control-label']) !!} {!! Form::text('country_code', old('country_code'), ['class' => $errors->has('country_code') ? 'form-control is-invalid' : 'form-control', 'id' => 'country_code', 'placeholder' => 'Country code']) !!} @if ($errors->has('country_code')) {{ $errors->first('country_code') }} @endif
{!! Form::label('prefix', 'Prefix :', ['class' => 'control-label']) !!} {!! Form::text('prefix', old('prefix'), ['class' => $errors->has('prefix') ? 'form-control is-invalid' : 'form-control', 'id' => 'prefix', 'placeholder' => 'Prefix (880)']) !!} @if ($errors->has('prefix')) {{ $errors->first('prefix') }} @endif
{!! Form::label('iso', 'ISO Code :', ['class' => 'control-label']) !!} {!! Form::text('iso', old('iso'), ['class' => $errors->has('iso') ? 'form-control is-invalid' : 'form-control', 'id' => 'iso', 'placeholder' => 'ISO code']) !!} @if ($errors->has('iso')) {{ $errors->first('iso') }} @endif
{!! Form::label('status', 'Active :', ['class' => 'control-label']) !!}
{!! Form::radio('status', '1', old('status', true), ['id' => 'statuson']) !!} {!! Form::label('statuson', 'Yes') !!}
{!! Form::radio('status', '0', old('status', false), ['id' => 'statusoff']) !!} {!! Form::label('statusoff', 'No') !!}
{!! Form::close() !!}
@endsection