delete empty submanager
This commit is contained in:
parent
2f0f080687
commit
edb7f2915c
|
@ -46,7 +46,10 @@
|
|||
}
|
||||
|
||||
</style>
|
||||
<% sub_managers = @module_app.sub_managers %>
|
||||
<%
|
||||
sub_managers = @module_app.sub_managers
|
||||
sub_managers.delete(nil)
|
||||
%>
|
||||
<div id="notification">Click on Submit to save the changes.</div>
|
||||
<%= form_for @setting, url: (@setting.new_record? ? admin_announcement_createsettings_path : admin_announcement_updatesettings_path), html: {class: "form-horizontal main-forms"} do |f| %>
|
||||
<div class="input-area">
|
||||
|
|
Loading…
Reference in New Issue