@extends('backend.layouts.layout-2') @if($edit) @section('page-title', trans('app.edit_services')) @section('page-heading', trans('app.edit_services')) @else @section('page-title', trans('app.add_services')) @section('page-heading', trans('app.add_services')) @endif @section('styles') @parent @endsection @section('scripts') @parent @endsection @section('content') @if($edit) {!! Form::open(['route' => ['services.update',$service->id], 'method' => 'PUT','files' => true, 'id' => 'page-form']) !!} @else {!! Form::open(['route' => 'services.store', 'files' => true, 'id' => 'page-form']) !!} @endif
@lang('app.services_details')
{!! Form::text('title',$edit ? $service->title : old('title'),['class' => 'form-control','placeholder' => trans('app.title')]) !!}
{{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{-- {!! $edit ? $service->content : old('content') !!}--}} {{--
--}} {{--
--}} {{--
--}} {{-- @if($edit)--}} {{--
--}} {{-- --}} {{--
--}} {{-- --}} {{--
--}} {{--
--}} {{-- @endif--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{--
--}}
{!! Form::url('url',$edit ? $service->url : old('url'),['class' => 'form-control','placeholder' => trans('app.url')]) !!}
@if($edit) @endif
{!! Form::close() !!} @stop