@include('website.module_element._module_writer_editor_add_copy',[ 'module_element' => $module_element, 'element_type' => \App\Models\Module_Element::ELEMENT_TYPE_HEADLINE, 'field' => 'headline_copy', 'title' => 'Headline', 'textarea' => false ]) @include('website.module_element._module_writer_editor_add_copy',[ 'module_element' => $module_element, 'element_type' => \App\Models\Module_Element::ELEMENT_TYPE_PARAGRAPH, 'field' => 'paragraph_copy', 'title' => 'Paragraph', 'textarea' => true ]) @include('website.module_element._module_writer_editor_add_copy',[ 'module_element' => $module_element, 'element_type' => \App\Models\Module_Element::ELEMENT_TYPE_LINK, 'field' => 'link_copy', 'title' => 'Link', 'textarea' => false ]) @if(\App\Providers\AuthServiceProvider::user_has_permission(\App\Providers\AuthServiceProvider::WRITER_EDITOR) && ($module_element->element_type == \App\Models\Module_Element::ELEMENT_TYPE_ARTICLE)) {{ Form::row_text_inline("module_element[{$module_element->module_element}][article_title_copy]", 'Article Title', $module_element->article_title_copy, 3, 6) }} @endif @if(\App\Providers\AuthServiceProvider::user_has_permission(\App\Providers\AuthServiceProvider::WRITER_EDITOR) && ($module_element->element_type == \App\Models\Module_Element::ELEMENT_TYPE_ARTICLE))
{!! old("article_body") !== null ? old("article_body") : $module_element->article_body !!}
@endif @if(\App\Providers\AuthServiceProvider::user_has_permission(\App\Providers\AuthServiceProvider::GATE_EDITOR) && ($module_element->element_type == \App\Models\Module_Element::ELEMENT_TYPE_ARTICLE) && $module_element->article_include_pull_quote) {{ Form::row_textarea_inline("module_element[{$module_element->module_element}][article_pull_quote_copy]", 'Pull Quote', $module_element->article_pull_quote_copy, 3, 6) }} @endif