def submit_tag(text = "Save changes", options = {})
      options = options.stringify_keys

      content_tag :button, text, { "type" => "submit", "name" => "commit" }.update(options)
    end
def submit_tag(text = "Save changes", options = {})
      options = options.stringify_keys

      content_tag :button, text, { "type" => "submit", "name" => "commit" }.update(options)
    end
Overrides the submit tags to always be buttons instead of inputs.
 Buttons are much more stylable and less prone to bugs.

 value   - The text of the button
 options - Options to provide to the actual tag.

 Returns a SafeString with the tag.