@extends('header') @section('head') @parent @include('proposals.grapesjs_header') @stop @section('content') {!! Former::open($url) ->method($method) ->id('mainForm') ->rules([ 'name' => 'required', ]) !!} @if ($template) {!! Former::populate($template) !!} @endif {!! Former::text('public_id') !!} {!! Former::text('html') !!} {!! Former::text('css') !!}
{!! Former::text('name') !!}
{!! Former::textarea('private_notes') !!}
{!! Button::normal(trans('texts.cancel')) ->appendIcon(Icon::create('remove-circle')) ->asLinkTo(HTMLUtils::previousUrl('/proposals')) !!} {!! Button::success(trans("texts.save")) ->withAttributes(array('id' => 'saveButton', 'onclick' => 'onSaveClick()')) ->appendIcon(Icon::create('floppy-disk')) !!}
{!! Former::close() !!}
@include('proposals.grapesjs', ['entity' => $template]) @stop