@coreAdminCSSLinks />
<#if portletType.modifyScriptTemplate != "" ><#include portletType.modifyScriptTemplate />#if>
<#-- A portlet type with a specific template has content to edit : the common properties go to a sticky side bar next to it. Otherwise they are the whole form and sit in the center of the screen. -->
<#assign hasContent = ( portletType.modifySpecificTemplate != "" || portletType.modifySpecificFormTemplate != "" ) />
<#assign fieldCols = hasContent?then( 12, 6 ) />
<#include "/admin/portlet/portlet_form_macros.html" />
<@tform id='form-portlet' name='form' action='jsp/admin/${portletType.doModifyUrl}' params='target="_top"'>
<@input type='hidden' name='portlet_id' value='${portlet.id}' />
<@input type='hidden' name='portlet_type_id' value='${portletType.id}' />
<#-- The device flags have no field on this form: they keep their values -->
<#if small_checked?has_content>#if>
<#if normal_checked?has_content>#if>
<#if large_checked?has_content>#if>
<#if xlarge_checked?has_content>#if>
<@box class='manage-portlet'>
<@boxHeader title='${portletType.name}' class='py-1' titleAuto=false>
<#-- The status is saved at once by the switch, apart from the form: the switch has no name, the form does not send it -->
<#assign portletPublished = ( portlet.status == portlet_status_published ) />