app/helpers/application_helper.rb
# Show/hide the Save and Reset buttons based on whether changes have been made
Show/hide the Save and Reset buttons based on whether changes have been made
Show / hide the Save and Reset buttons based on whether changes have been made
def javascript_for_miq_button_visibility(display, prefix = nil)
    if prefix
      "miqButtons('#{display ? 'show' : 'hide'}', '#{prefix}');".html_safe
    else
      "miqButtons('#{display ? 'show' : 'hide'}');".html_safe
    end
  end
def javascript_for_miq_button_visibility ( display , prefix = nil ) if prefix "miqButtons('#{display ? 'show' : 'hide'}', '#{prefix}');" . html_safe else "miqButtons('#{display ? 'show' : 'hide'}');" . html_safe end end
Show/hide the Save and Reset buttons based on whether changes have been made
Show / hide the Save and Reset buttons based on whether changes have been made
display
<not_specific>
prefix
<not_specific>