% if show_default_widget_setting_panel %>
<%= render :partial => 'admin/page_parts/default_widget_style_panel',:locals=>{:f=>f,:object=>object} %>
<%= render :partial => 'admin/page_parts/default_widget_setting',:locals=>{:object=>object} %>
<% elsif show_custom_widget_setting_panel %>
<%= render :partial => 'admin/page_parts/custom_widget_setting',:locals=>{:object=>object} %>
<% end %>