@extends('themes.default1.admin.layout.admin') @section('API') active @stop @section('settings-bar') active @stop @section('plugin') class="active" @stop @section('HeadInclude') @stop @section('PageHeader')

{{ Lang::get('lang.api')}}

@stop @section('breadcrumbs') @stop @section('content')
{!! Form::open(['url'=>'api','method'=>'post','files'=>true]) !!}

{{Lang::get('lang.api_settings')}}

@if (count($errors) > 0)
Whoops! There were some problems with your input.

    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if(Session::has('success'))
{{Session::get('success')}}
@endif @if(Session::has('fails'))
{{Session::get('fails')}}
@endif

{!! Lang::get('lang.api_configurations') !!}

{!! Form::label('api',Lang::get('lang.api')) !!} {!! $errors->first('api_enable', ':message') !!}
api_enable ==1) checked @endif> {{Lang::get('lang.enable')}}
api_enable == 0) checked @endif> {{Lang::get('lang.disable')}}
{!! Form::label('api_key_mandatory',Lang::get('lang.api_key_mandatory')) !!} {!! $errors->first('api_key_mandatory', ':message') !!}
api_key_mandatory == 1) checked @endif> {{Lang::get('lang.enable')}}
api_key_mandatory == 0) checked @endif> {{Lang::get('lang.enable')}}
{!! Form::label('api_key',Lang::get('lang.api_key')) !!} {!! $errors->first('api_key', ':message') !!} {!! Form::text('api_key',$systems->api_key,['class' => 'form-control']) !!}
{!! Form::close() !!}
@stop