@row>
<@columns>
<@box color='info'>
<@boxHeader title='#i18n{portal.style.modify_style.title}' />
<@boxBody>
<@tform method='post' name='modify_style' action='jsp/admin/style/DoModifyStyle.jsp'>
<@formGroup labelKey='#i18n{portal.style.modify_style.labelId}' labelFor='style_id' mandatory=true>
<@input type='text' name='style_id' id='style_id' readonly=true value='${style.id}' />
@formGroup>
<@formGroup labelKey='#i18n{portal.style.modify_style.labelName}' labelFor='style_name' mandatory=true>
<@input type='text' name='style_name' id='style_name' inputSize=60 maxlength=100 value='${style.description?html}' />
@formGroup>
<@formGroup labelKey='#i18n{portal.style.modify_style.labelComponentType}' labelFor='portal_component'>
<#assign javascriptComboParams>onChange="javascript:if( document.modify_style.portal_component.value == '0' ) {document.modify_style.portlet_type.disabled=false;} else {document.modify_style.portlet_type.disabled=true;}"#assign>
<@select name='portal_component' default_value='${style.portalComponentId}' items=portal_component_list params='${javascriptComboParams}' />
@formGroup>
<#if style.portletTypeId??>
<@formGroup labelKey='#i18n{portal.style.modify_style.labelPortletType}' labelFor='portlet_type'>
<@select name='portlet_type' default_value='${style.portletTypeId}' items=portlet_type_list />
@formGroup>
#if>
<@formGroup>
<@button type='submit' buttonIcon='plus' title='#i18n{portal.style.modify_style.buttonModify}' size='' />
<@aButton href='jsp/admin/style/ManageStyles.jsp' buttonIcon='times' title='#i18n{portal.admin.message.buttonCancel}' size='' color='btn-secondary' />
@formGroup>
@tform>
@boxBody>
@box>
@columns>
@row>