app/views/admin/settings/update.js.erb
var form = $("<%= j render Admin::Settings::FeaturedSettingsFormComponent.new(
@setting,
tab: params[:tab],
describedby: params[:setting][:describedby]
) %>");
$("#" + form.attr("id")).html(form.html()).find("[type='submit']").focus();
<% if @setting.prefix == "feature" || @setting.prefix == "process" %>
$("#side_menu").html("<%= j render Admin::MenuComponent.new %>").foundation();
<% end %>