Module: Form::Static
- Extended by:
- ActiveSupport::Concern
- Included in:
- Base, Object
- Defined in:
- app/models/form/static.rb,
app/models/form/static/base.rb,
app/models/form/static/email.rb,
app/models/form/static/object.rb,
app/models/form/static/attachment.rb
Defined Under Namespace
Modules: Attachment, Email
Classes: Base, Object
Instance Method Summary
collapse
Instance Method Details
13
14
15
|
# File 'app/models/form/static.rb', line 13
def form_name
model_name.element
end
|
17
18
19
|
# File 'app/models/form/static.rb', line 17
def js_form_selector
"#new_form_#{form_name}"
end
|
#with_email? ⇒ Boolean
9
10
11
|
# File 'app/models/form/static.rb', line 9
def with_email?
false
end
|