@extends('themes.default1.agent.layout.agent') @extends('themes.default1.agent.layout.sidebar') @section('article') active @stop @section('all-article') class="active" @stop @section('PageHeader')

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

@stop @section('content') {!! Form::model($article,['url' => 'article/'.$article->id , 'method' => 'PATCH'] )!!}
@if(Session::has('success'))
{{Session::get('success')}}
@endif @if(Session::has('fails'))
{!! Lang::get('lang.alert') !!}! {{Session::get('fails')}}
@endif @if(Session::has('errors'))
{!! Lang::get('lang.alert') !!}!
@if($errors->first('name'))
  • {!! $errors->first('name', ':message') !!}
  • @endif @if($errors->first('slug'))
  • {!! $errors->first('slug', ':message') !!}
  • @endif @if($errors->first('description'))
  • {!! $errors->first('description', ':message') !!}
  • @endif @if($errors->first('type'))
  • {!! $errors->first('type', ':message') !!}
  • @endif @if($errors->first('status'))
  • {!! $errors->first('status', ':message') !!}
  • @endif @if($errors->first('category_id'))
  • {!! $errors->first('category_id', ':message') !!}
  • @endif
    @endif
    {!! Form::label('name',Lang::get('lang.name')) !!} * {!! Form::text('name',null,['class' => 'form-control']) !!}
    {!! Form::label('slug',Lang::get('lang.slug')) !!} * {!! Form::text('slug',null,['class' => 'form-control']) !!}
    {!! Form::label('description',Lang::get('lang.description')) !!} *
    {!! Form::textarea('description',$article->description,['class' => 'form-control','id'=>'editor','size' => '128x20','placeholder'=>Lang::get('lang.enter_the_description')]) !!}
    @stop