Class: Decidim::Elections::Admin::ReportMissingTrusteeForm

Inherits:
ActionForm
  • Object
show all
Defined in:
app/forms/decidim/elections/admin/report_missing_trustee_form.rb

Overview

This class holds a form to report a missing trustee during the tally process.

Instance Method Summary collapse

Methods inherited from ActionForm

#bulletin_board, #current_step, #election, #messages, #pending_action, #refresh

Instance Method Details

#main_button?Boolean

Returns:

  • (Boolean)


16
17
18
# File 'app/forms/decidim/elections/admin/report_missing_trustee_form.rb', line 16

def main_button?
  false
end

#trusteeObject



12
13
14
# File 'app/forms/decidim/elections/admin/report_missing_trustee_form.rb', line 12

def trustee
  @trustee ||= Decidim::Elections::Trustee.find(trustee_id)
end