Orbit/app/views/admin/page_parts/_custom_widget_setting.html...

20 lines
807 B
Plaintext
Raw Normal View History

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%>
<%= select('page_part', 'widget_style', @module_app.widgets[@widget_path]["style"]) %>
2013-01-16 06:07:09 +00:00
<% end %>
</div>
</div>
<% 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 %>