remove level from bay elements, judge by from_base
coding notch_num related inputs hide/show, js
validates models, refine elements' template
modify deprecate helpers: button_to_function, link_to_function