@extends('layouts.app') @section('content')

@lang('global.contact-notes.title')

{!! Form::open(['method' => 'POST', 'route' => ['admin.contact_notes.store'], 'files' => true,'class'=>'formvalidation']) !!}
@lang('global.app_create')
{!! Form::label('title', trans('global.contact-notes.fields.title').'*', ['class' => 'control-label form-label']) !!}
{!! Form::text('title', old('title'), ['class' => 'form-control', 'placeholder' => 'title', 'required' => '']) !!}

@if($errors->has('title'))

{{ $errors->first('title') }}

@endif
{!! Form::label('contact_id', trans('global.contact-notes.fields.contact').'*', ['class' => 'control-label']) !!} {!! Form::select('contact_id', $contacts, old('contact_id'), ['class' => 'form-control select2', 'required' => '','data-live-search' => 'true','data-show-subtext' => 'true']) !!}

@if($errors->has('contact_id'))

{{ $errors->first('contact_id') }}

@endif
{!! Form::label('notes', trans('global.contact-notes.fields.notes').'', ['class' => 'control-label']) !!} {!! Form::textarea('notes', old('notes'), ['class' => 'form-control editor', 'placeholder' => 'notes']) !!}

@if($errors->has('notes'))

{{ $errors->first('notes') }}

@endif
{!! Form::submit(trans('global.app_save'), ['class' => 'btn btn-danger wave-effect']) !!} {!! Form::close() !!} @stop @section('javascript') @parent @include('admin.common.standard-ckeditor') @stop