Module: ErpApp::Extensions::Railties::ActionView::Helpers::ActiveExtHelper
- Defined in:
- lib/erp_app/extensions/railties/action_view/helpers/active_ext_helper.rb
Instance Method Summary collapse
-
#active_ext_close_button(options = {}) ⇒ Object
active_ext helper methods.
Instance Method Details
#active_ext_close_button(options = {}) ⇒ Object
active_ext helper methods
8 9 10 |
# File 'lib/erp_app/extensions/railties/action_view/helpers/active_ext_helper.rb', line 8 def (={}) raw "<input type=\"button\" class=\"#{[:class]}\" value=\"Close\" onclick=\"parent.Compass.ErpApp.Shared.ActiveExt.closeWindow('#{@model.class.to_s.underscore + "_" + @model.id.to_s}')\" />" end |