Module: Card::Set::Self::FollowDefaults::HtmlFormat

Extended by:
AbstractFormat
Defined in:
tmpsets/set/mod017-follow/self/follow_defaults.rb

Instance Method Summary collapse

Instance Method Details

#cancel_to_edit_buttonObject



80
81
82
# File 'tmpsets/set/mod017-follow/self/follow_defaults.rb', line 80

def cancel_to_edit_button
  cancel_button href: path(view: :edit, id: card.id)
end

#simple_submit_buttonObject



76
77
78
# File 'tmpsets/set/mod017-follow/self/follow_defaults.rb', line 76

def simple_submit_button
  button_tag "Submit", class: "follow"
end

#submit_and_update_buttonObject



71
72
73
74
# File 'tmpsets/set/mod017-follow/self/follow_defaults.rb', line 71

def submit_and_update_button
  submit_button text: "Submit and update all users",
                disable_with: "Updating", class: "follow-updater"
end