{{ Form::label_title("Link") }}
{{ Form::separator_row('grey-divider thin-divider') }}
{{ Html::image('/img/remove_image.png', null, ['class' => 'new-module-element-remove remove-linked', 'onclick' => "delete_new_element()", 'data-id' => $count]) }}
{{ Form::radio_ex('link_to_'.$count, 0, 0, 'Link To Page', 3, null, 'link_to_page_radio', 'link_to_page_radio') }}
{{ Form::radio_ex('link_to_'.$count, 1, 0, 'Link To Section', 3, null, 'link_to_section_radio_'.$count, 'link_to_section_radio') }}
{{ Form::radio_ex('link_to_'.$count, 2, 0, 'Link To New Page', 3, null, 'link_to_new_page_radio', 'link_to_new_page_radio') }}
{{ Form::radio_ex('link_to_'.$count, 3, 0, 'Link To New Section', 3, null, 'link_to_new_section_radio', 'link_to_new_section_radio') }}
{{ Form::row_select_inline("new_module_element[$count][linked_to]", "Link To Page", $module_element->linked_to, $pages,
3, 9, \App\Helpers\FormComponentHelper::SIZE_MEDIUM, null, null, 'link_page_select', 'link_page_select_'.$count) }}
{{ Form::row_select_inline('', "Link To Section", $module_element->linked_to, $sections,
3, 9, \App\Helpers\FormComponentHelper::SIZE_MEDIUM, null, null, 'link_section_select', 'link_section_select_'.$count) }}
{{ Form::row_text_inline('', "New Page Name", $module_element->linked_to, 3, 9, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }}
{{ Form::row_select_inline('', "New Section on Page", $module_element->linked_to, $pages,
3, 9, \App\Helpers\FormComponentHelper::SIZE_MEDIUM, null, null, 'link_new_section_select', 'link_new_section_select_'.$count) }}
{{ Form::row_text_inline("new_module_element[$count][link_direction]", "Direction", $module_element->link_direction, 3, 9, \App\Helpers\FormComponentHelper::SIZE_MEDIUM) }}
{{ Form::radio_ex("new_module_element[$count][link_type]", \App\Models\Module_Element::LINK_TYPE_TEXT, $module_element->link_type, "Text") }}
{{ Form::radio_ex("new_module_element[$count][link_type]", \App\Models\Module_Element::LINK_TYPE_BUTTON, $module_element->link_type, "Button") }}
@include('website.module_element._is_editor_copy', ['prefix' => 'new_', 'pk' => $count])