2013-01-16 06:07:09 +00:00
|
|
|
<div class="style_switch control-group">
|
|
|
|
<label class="control-label">
|
|
|
|
<%= t("default_widget.select_widget_style") %>
|
|
|
|
</label>
|
|
|
|
<div class="controls well">
|
2013-01-23 10:51:18 +00:00
|
|
|
<% if @module_app.nil? || @module_app.widgets.nil? || (@module_app.widgets[@widget_path].blank? rescue true) %>
|
2013-01-16 06:07:09 +00:00
|
|
|
<%= t("default_widget.no_support_setting")%>
|
|
|
|
<%else%>
|
2013-01-29 12:33:40 +00:00
|
|
|
<%= select('page_part', 'widget_style', @module_app.widgets[@widget_path]["style"]) %>
|
2013-01-16 06:07:09 +00:00
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-01-29 12:33:40 +00:00
|
|
|
<% if(@module_app && @module_app.widget_options(@widget_path)) %>
|
2013-01-16 06:07:09 +00:00
|
|
|
<div class="style_switch control-group">
|
|
|
|
<label class="control-label"><%= t("default_widget.select_widget_ext_option") %></label>
|
|
|
|
<div class="controls well" >
|
|
|
|
<%= render :partial=> "widget_ext_options" %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% end %>
|