@extends('backend.layouts.layout-2') @if($edit) @section('page-title', trans('app.edit_footer')) @section('page-heading', trans('app.edit_footer')) @else @section('page-title', trans('app.add_footer')) @section('page-heading', trans('app.add_footer')) @endif @section('content') @if($edit) {!! Form::open(['route' => ['footers.update',$footer->id], 'method' => 'PUT','files' => true, 'id' => 'footer-form']) !!} @else {!! Form::open(['route' => 'footers.store', 'files' => true, 'id' => 'footer-form']) !!} @endif
@lang('app.footer_details')
{!! Form::text('title',$edit ? $footer->title : old('title'),['class' => 'form-control','placeholder' => trans('app.title')]) !!}
{{--
--}} {{-- --}} {{--
--}} {{-- {!! Form::text('content',$edit ? $footer->content : old('content'),['class' => 'form-control','placeholder' => trans('app.content')]) !!}--}} {{--
--}} {{--
--}}
{!! Form::url('url',$edit ? $footer->url : old('url'),['class' => 'form-control','placeholder' => trans('app.url')]) !!}
{{-- @if($edit)--}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{-- @endif--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}}
{!! Form::close() !!} @stop