9 lines
417 B
Plaintext
9 lines
417 B
Plaintext
<% if !@part.widget_path.blank? %>
|
|
<% if show_default_widget_setting_panel %>
|
|
$('#widget_setting').html("<%= j render :partial => 'default_widget_style_panel' %>");
|
|
$('#widget_setting').append("<%= j render :partial => 'default_widget_setting' %>");
|
|
<% elsif show_custom_widget_setting_panel %>
|
|
$('#widget_setting').html("<%= j render :partial => 'custom_widget_setting' %>");
|
|
<% end %>
|
|
<% end %>
|