module Voom::Presenters::WebClient::Helpers::FormHelpers

Public Instance Methods

buttons(components) click to toggle source
# File lib/voom/presenters/web_client/helpers/form_helpers.rb, line 9
def buttons(components)
  components.select {|c| eq(c.type, :button)}
end
buttons?(components) click to toggle source
# File lib/voom/presenters/web_client/helpers/form_helpers.rb, line 5
def buttons?(components)
  buttons(components).any?
end