This commit is contained in:
denisdulici 2017-09-21 17:04:28 +03:00
parent 705cbb927a
commit 3b3e3bbb66
2 changed files with 40 additions and 40 deletions

View File

@ -2,8 +2,8 @@
return [
'title' => 'API Token',
'api_token' => 'Token',
'enter_api_token' => 'Enter your API token',
'top_paid' => 'Top Paid',
'new' => 'New',
'top_free' => 'Top Free',
@ -12,8 +12,9 @@ return [
'buy_now' => 'Buy Now',
'faq' => 'FAQ',
'changelog' => 'Changelog',
'installed' => 'Changelog',
'uninstalled' => 'Changelog',
'installed' => 'Installed',
'uninstalled' => 'Uninstalled',
'token_link' => '<a href="https://akaunting.com/tokens" target="_blank">Click here</a> to get your API token.',
'enabled' => ':module module enabled',
'disabled' => ':module module disabled',

View File

@ -1,18 +1,13 @@
@extends('layouts.modules')
@section('title', trans_choice('general.modules', 2))
@section('title', trans('modules.title'))
@section('content')
<div class="box box-success">
<div class="box-header with-border">
<h3 class="box-title">{{ trans('modules.enter_api_token') }}</h3>
</div>
<!-- /.box-header -->
<!-- form start -->
{!! Form::open(['url' => 'modules/token', 'files' => true, 'role' => 'form']) !!}
<div class="box-body">
<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">
@ -21,6 +16,10 @@
</div>
{!! $errors->first('api_token', '<p class="help-block">:message</p>') !!}
</div>
<p>
{!! trans('modules.token_link') !!}
</p>
</div>
</div>
<!-- /.box-body -->