21 lines
975 B
Plaintext
21 lines
975 B
Plaintext
<div class="style_switch control-group">
|
|
<label class="control-label">
|
|
<%= t("default_widget.select_widget_style") %>
|
|
</label>
|
|
<div class="controls">
|
|
<% if @selected[:module_app].nil? || @selected[:module_app].widgets.nil? || (@selected[:module_app].widgets[@selected[:app_frontend_url]].blank? rescue true) || @selected[:module_app].widgets[@selected[:app_frontend_url]]["style"].nil? %>
|
|
<%= t("default_widget.no_support_setting")%>
|
|
<%else%>
|
|
<%= select('page_part', 'widget_style', @selected[:module_app].widgets[@selected[:app_frontend_url]]["style"]) %>
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
<% if(@selected[:module_app] && @selected[:module_app].widget_options(@selected[:app_frontend_url])) %>
|
|
<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 %>
|