Current File : /home/itiffy/public_html/resources/views/admin/gatway/create.blade.php |
@extends('admin.layouts.master')
@section('content')
<div class="row">
<div class="col-sm-10 col-sm-offset-2">
<h1>{{ trans('quickadmin::templates.templates-view_create-add_new') }}</h1>
@if ($errors->any())
<div class="alert alert-danger">
<ul>
{!! implode('', $errors->all('<li class="error">:message</li>')) !!}
</ul>
</div>
@endif
</div>
</div>
{!! Form::open(array('route' => config('quickadmin.route').'.gatway.store', 'id' => 'form-with-validation', 'class' => 'form-horizontal')) !!}
<div class="form-group">
{!! Form::label('mode', 'Mode*', array('class'=>'col-sm-2 control-label')) !!}
<div class="col-sm-10">
{!! Form::select('mode', array('sandbox'=>'sandbox','production'=>'production'),'',array('class'=>'form-control')) !!}
</div>
</div><div class="form-group">
{!! Form::label('account_number', 'Account Number*', array('class'=>'col-sm-2 control-label')) !!}
<div class="col-sm-10">
{!! Form::text('account_number', old('account_number'), array('class'=>'form-control')) !!}
</div>
</div><div class="form-group">
{!! Form::label('publish_key', 'Publish Key*', array('class'=>'col-sm-2 control-label')) !!}
<div class="col-sm-10">
{!! Form::text('publish_key', old('publish_key'), array('class'=>'form-control')) !!}
</div>
</div><div class="form-group">
{!! Form::label('private_key', 'Private key*', array('class'=>'col-sm-2 control-label')) !!}
<div class="col-sm-10">
{!! Form::text('private_key', old('private_key'), array('class'=>'form-control')) !!}
</div>
</div>
<div class="form-group">
<div class="col-sm-10 col-sm-offset-2">
{!! Form::submit( trans('quickadmin::templates.templates-view_create-create') , array('class' => 'btn btn-primary')) !!}
</div>
</div>
{!! Form::close() !!}
@endsection