@extends('layouts.master') @section('page_title', $page_title) @section('content')
{{ Form::page_header($page_title, "paper_stack") }} {{ Form::open(['url' => $post_url, 'id' => 'grapejs_template_form']) }}
{{ Form::hidden('template_type', $campaign_deliverable_template->template_type) }} {{ Form::row_text_inline('template_name', 'Template Name', $campaign_deliverable_template->template_name, 2, 4) }} @include('shared.grapejs._grapejs', [ 'json_string' => $campaign_deliverable_template->template_json_string, 'styles_string' => $campaign_deliverable_template->template_styles_string, 'html_string' => $campaign_deliverable_template->template_html_string, 'css_string' => $campaign_deliverable_template->template_css_string, ]) {{ Form::separator_row_bottom("grey-divider") }}
{{ Form::button_ex('Save', 'grapejs_do_save("grapejs_template_form");') }} {{ Form::button_link('Cancel', $campaign_deliverable_template->view_url) }}
{{ Form::close() }}
@endsection @section('page_script') @include('reach.campaign_event._campaign_event_sidebar_script') @include('shared.grapejs._grapejs_'.$campaign_deliverable_template->grapejs_type.'_script') @include('shared.grapejs.init_grape_js', [ 'component_string' => $campaign_deliverable_template->template_json_string, 'styles_string' => $campaign_deliverable_template->template_styles_string, ]) @endsection @section('page_style') {{--@include('shared_style.modals._choose_image_style')--}} @include('shared.grapejs._grapejs_'.$campaign_deliverable_template->grapejs_type.'_style') @include('shared.grapejs._grapejs_shared_style') @endsection