@extends('master') @php $breadcrumbs = Breadcrumbs::generate('checkAuthor'); @endphp @section('breadcrumbs') @if (count($breadcrumbs))
    @foreach ($breadcrumbs as $breadcrumb) @if ($breadcrumb->url && !$loop->last)
  1. {{{ $breadcrumb->title }}}
  2. @else
  3. {{{ $breadcrumb->title }}}
  4. @endif @endforeach
@endif @endsection @section('content')
@if (Session::has('upload_error'))
@elseif (Session::has('error'))
@elseif ($errors->any())
@foreach ($errors->all() as $error) @endforeach
@endif
@{{error}}

{{{trans('Add Article')}}}

{!! Form::open(['url' => 'author/store-article', 'enctype' => 'multipart/form-data', 'multiple' => true, 'id'=>'article_form', 'class' => 'total-fields sj-formtheme sj-formarticle', '@submit' => 'checkForm']) !!}
{!! Form::text('title', null, ['class' => 'form-control', 'placeholder' => trans('Article Title'), 'id'=>'article_title', '@keyup' => 'autoComplete' ]) !!}
@if(($categories != ""))
{!! Form::select('category', $categories, null ,array('class' => '')) !!}
@endif
{!! Form::text('authors[0][title]', null, ['class' => 'form-control author_title' ,'id'=>'first_author_name', 'placeholder' => trans('Author Name'), '@keyup' => 'autoComplete']) !!}
{!! Form::email('authors[0][email]', null, ['class' => 'form-control author_email','id'=>'first_author_email','placeholder' => trans('Author Email'), '@keyup' => 'autoComplete']) !!}
{{{trans('Add Abstract')}}} {!! Form::textarea('abstract', null, ['class' => 'form-control template_data page-textarea', 'id' => 'abstract', 'placeholder' => trans('Add Abstract'), '@keyup' => 'autoComplete']) !!}
{!! Form::textarea('excerpt', null, ['class' => 'form-control excerpt', 'id' => 'excerpt', 'placeholder' => trans('Excerpt'), '@keyup' => 'autoComplete']) !!}
{{ trans('By clicking submit button you accepted terms and coditions of the journal. ') }}{{{trans('Terms and Conditions')}}} {!! Form::submit(trans('Submit'), ['class' => 'sj-btn sj-btnactive']) !!}
{!! Form::close() !!}
@endsection