2017-09-14 22:21:00 +03:00
|
|
|
@extends('layouts.modules')
|
|
|
|
|
2017-09-21 17:04:28 +03:00
|
|
|
@section('title', trans('modules.title'))
|
2017-09-14 22:21:00 +03:00
|
|
|
|
|
|
|
@section('content')
|
|
|
|
<div class="box box-success">
|
|
|
|
{!! Form::open(['url' => 'modules/token', 'files' => true, 'role' => 'form']) !!}
|
|
|
|
|
|
|
|
<div class="box-body">
|
2017-09-21 17:04:28 +03:00
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="form-group required {{ $errors->has('api_token') ? 'has-error' : ''}}">
|
|
|
|
{!! Form::label('sale_price', trans('modules.api_token'), ['class' => 'control-label']) !!}
|
|
|
|
<div class="input-group">
|
|
|
|
<span class="input-group-addon"><i class="fa fa-key"></i></span>
|
|
|
|
{!! Form::text('api_token', null, ['class' => 'form-control', 'required' => 'required', 'placeholder' => trans('general.form.enter', ['field' => trans('modules.api_token')])]) !!}
|
|
|
|
</div>
|
|
|
|
{!! $errors->first('api_token', '<p class="help-block">:message</p>') !!}
|
2017-09-14 22:21:00 +03:00
|
|
|
</div>
|
2017-09-21 17:04:28 +03:00
|
|
|
<p>
|
|
|
|
{!! trans('modules.token_link') !!}
|
|
|
|
</p>
|
2017-09-14 22:21:00 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- /.box-body -->
|
|
|
|
|
|
|
|
<div class="box-footer">
|
|
|
|
{{ Form::saveButtons('modules/token') }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{!! Form::close() !!}
|
|
|
|
</div>
|
|
|
|
@endsection
|