diff --git a/app/views/trst_sys/exe/_db_sys_menu_edit.html.erb b/app/views/trst_sys/exe/_db_sys_menu_edit.html.erb index e3c18f3..80cc4e2 100644 --- a/app/views/trst_sys/exe/_db_sys_menu_edit.html.erb +++ b/app/views/trst_sys/exe/_db_sys_menu_edit.html.erb @@ -2,7 +2,7 @@ # To change this template, choose Tools | Templates # and open the template in the editor. %> -
+
<% if params[:obj_id] == "new" @menu = TrstSysMenu.new else diff --git a/app/views/trst_sys/exe/_db_sys_submenu_edit.html.erb b/app/views/trst_sys/exe/_db_sys_submenu_edit.html.erb index 4122a4d..3b5e9dc 100644 --- a/app/views/trst_sys/exe/_db_sys_submenu_edit.html.erb +++ b/app/views/trst_sys/exe/_db_sys_submenu_edit.html.erb @@ -2,7 +2,7 @@ # To change this template, choose Tools | Templates # and open the template in the editor. %> -
+
<% if params[:obj_id] == "new" @submenu = TrstSysSubmenu.new else