@extends('layouts.master') @section('page_title',"Article") @section('content')
{{ Form::page_header("Article", "paper_stack") }} @if($campaign_event->campaign_event) {{ Form::open(['url' => action('ArticleController@update', compact('article'))]) }} @else {{ Form::open(['url' => action('ArticleController@store')]) }} @endif
{{ Form::hidden('event_type', \App\Models\Campaign_Event::CAMPAIGN_EVENT_TYPE_ARTICLE) }} {{ Form::hidden('campaign', $campaign->campaign) }} {{ Form::hidden('business', $business->business) }} {{ Form::hidden('campaign_event', $campaign_event->campaign_event) }} {{ Form::hidden('creation_type', $article->creation_type, ['id' => 'creation_type']) }}
{{ Form::close() }} @if($article->article)
@if(strpos(URL::previous(), 'view')) @include('reach.campaign_event._view_article_reference_links', compact('article_reference_links')) @else @include('reach.campaign_event._edit_article_reference_links', compact('article_reference_links')) @endif
@endif
@endsection @section('page_script') @include('shared_script._tinymce_init_image') @endsection @section('page_style') @endsection