{extends file='../layouts/index.html'} {block name=body}
{if $code gt 0}

{$msg}

{else} {form_open('','class="form-horizontal" target="iframeNew"')}
{_('绑定类型')} {form_toggle('bind_type',['bind'=>_('绑定'),'unbind'=>_('解绑')],'bind')}
{_('绑定集群')} {foreach from=$cluster_list item=m name=f} {if $smarty.foreach.f.index gt 0} / {/if} {$m.name} {/foreach}
{_('绑定套餐')}
{foreach from=$server_list item=m} {/foreach}
ID {_('套餐名')}
{$m.id} {$m.title}{if $m.type eq 1} [{_('规格')}]{/if} {if $m.bind}{_('已绑定')}{/if}
{form_hidden('submit',1)} {form_hidden('cluster_ids',$ids)}
{form_close()} {/if}
{/block}