@extends('layouts.admin')
@section('content-title')
{{ __('articles.Edit Article') }}
@endsection
@section('content-breadcrumbs')
{{ Breadcrumbs::render('admin.articles.edit')}}
@endsection
@section('css')
@endsection
@section('content')
{!!Form::open()->locale('articles')->put()->multipart()->route('admin.article.update')->fill($article)!!}
{!!Form::hidden('id')!!}
{!!Form::text('title', 'Title')->placeholder(__('articles.Title'))!!}
{!!Form::file('photo')->attrs(['class' => 'custom-file-input', 'aria-describedby' => 'inputGroupFileAddon01'])->id("inputGroupFile01")!!}
@if($article->photo == "Default-article.jpg")
@else
@endif
{!!Form::textarea('shortDecs', 'shortDecs')->placeholder(__('articles.Short Description'))!!}
{!!Form::textarea('corp', 'Body')->attrs(['class' => 'editor'])->placeholder(__('articles.Body'))!!}
{!!Form::submit('save')->id('my-btn')!!}
{!!Form::close()!!}
@endsection
@section('js')
{{-- Select2 --}}
@endsection