@extends('layouts.admin.master') @section('title', !empty($service) ? 'Edit Services' : 'Add Services') @section('content') @include('layouts.admin.flash.alert')

Manage Services Here you can {{ !empty($service) ? 'edit' : 'add' }} Services constant/Slug

{{ !empty($service) ? 'Edit Services' : 'Add Services' }}

Back
@if(isset($service)) {{ Form::model($service, ['route' => ['data.service.update', $service->id], 'method' => 'post', 'enctype' => 'multipart/form-data']) }} @else {{ Form::open(['route' => 'data.service.store', 'enctype' => 'multipart/form-data']) }} @endif
{{ Form::hidden('manager', 'general') }}
{{ Form::text('title', old('title'), ['class' => 'form-control','placeholder' => 'Title']) }} @if($errors->has('title')) {{ $errors->first('title') }} @endif
{{ Form::text('slug', old('slug'), ['class' => 'form-control','placeholder' => 'Constant/Slug' ,'readonly' => isset($service) ? true : false]) }} @if($errors->has('slug')) {{ $errors->first('slug') }} @else

No space, separate each word with underscore. (if you want auto generated then please leave blank)

@endif
{{ Form::textarea('description', old('description'), ['class' => 'form-control ckeditor','placeholder' => 'Provide Description', 'rows' => 5]) }} @if($errors->has('description')) {{ $errors->first('description') }} @endif
{{ Form::close() }}
@stop