Class: Decidim::Amendable::CreateForm

Inherits:
Form
  • Object
show all
Defined in:
app/forms/decidim/amendable/create_form.rb

Overview

A form object to be used when users want to amend an amendable resource.

Instance Method Summary collapse

Methods inherited from Form

#amender, #amendment, #emendation

Methods included from TranslatableAttributes

#default_locale?

Instance Method Details

#amendableObject



17
18
19
# File 'app/forms/decidim/amendable/create_form.rb', line 17

def amendable
  @amendable ||= GlobalID::Locator.locate_signed(amendable_gid)
end