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