%h1=sprintf(_("Edit menu: %s"), @dynamic_menu.title!) .box{style: "width: 300px;"} .field %label=_("ID text") + ":" =@dynamic_menu.idstr .field %label=_("URL") + ":" =@dynamic_menu.url .field %label=_("Sort") + ":" =@dynamic_menu.sort .field %label=_("Check callbacks") + ":" =@dynamic_menu.check_callbacks_enum.to_a.join(", ") %br =link_to(_("Edit"), edit_dynamic_menu_path(@dynamic_menu)) =link_to(_("Add submenu"), new_dynamic_menu_path(dynamic_menu_id: @dynamic_menu.id))