@include('website._website_sidebar', compact('website_request'))
{{ $homepage ? 'Homepage' : 'Content Plan' }}
@include('website._content_cards', $content_plan)
@if($homepage)
@if(isset($nobusiness) && $nobusiness)
{{ Form::button_link(\Gate::allows('CSMCCT') ? 'Edit Content Plan' : 'View Content Plan', action('ModuleController@content_plan_nobusiness', compact('website_request'))) }}
@else
{{ Form::button_link(\Gate::allows('CSMCCT') ? 'Edit Content Plan' : 'View Content Plan', action('ModuleController@content_plan', compact('website_request', 'business'))) }}
@endif
@else
@if(\App\Providers\AuthServiceProvider::user_has_permission(\App\Providers\AuthServiceProvider::CSMCCT))
{{ Form::button_ex('Add Page', "add_card({$website_request->website_request})") }}
@endif
@if($website_request->status < \App\Models\Website_Request::WEBSITE_STATUS_PROGRESS)
{{ Form::button_save('Request Feedback', 'submit_plan') }}
@endif
@if($website_request->content_status < \App\Models\Website_Request::CONTENT_STATUS_PROGRESS && $website_request->status >= \App\Models\Website_Request::WEBSITE_STATUS_PROGRESS
&& \App\Providers\AuthServiceProvider::user_has_permission(\App\Providers\AuthServiceProvider::CSMCCT))
{{ Form::button_save('Complete Content Plan', 'complete_plan', 'complete-plan') }}
@endif
@endif
@if(!$homepage)
Style Guide
@include('website._style_guide_view')
Parking Lot
@foreach($parking_lot as $module)
@include('website._module_content_card_collapsed', compact('module'))
@endforeach
@endif