Module: ScrivitoEditors::ScrivitoTagHelper
- Defined in:
- lib/scrivito_editors/scrivito_tag_helper.rb
Instance Method Summary collapse
- #scrivito_edit_enum(object, attribute_name, options = {}) ⇒ Object
- #scrivito_edit_link(object, attribute_name, html_options = {}, editing_options = {}) ⇒ Object
- #scrivito_edit_linklist(object, attribute_name, html_options = {}, editing_options = {}) ⇒ Object
- #scrivito_edit_multienum(object, attribute_name, options = {}) ⇒ Object
- #scrivito_edit_reference(object, attribute_name, options = {}) ⇒ Object
- #scrivito_edit_referencelist(object, attribute_name, html_options = {}, editing_options = {}) ⇒ Object
Instance Method Details
#scrivito_edit_enum(object, attribute_name, options = {}) ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/scrivito_editors/scrivito_tag_helper.rb', line 3 def scrivito_edit_enum(object, attribute_name, = {}) raise %{ The "scrivito_edit_enum" view helper has been removed. Please use the "scrivito_tag" helper instead. "scrivito_tag" now activates the enum editor by default for all enum attributes. } end |
#scrivito_edit_link(object, attribute_name, html_options = {}, editing_options = {}) ⇒ Object
36 37 38 39 40 41 42 |
# File 'lib/scrivito_editors/scrivito_tag_helper.rb', line 36 def scrivito_edit_link(object, attribute_name, = {}, = {}) raise %{ The "scrivito_edit_link" view helper has been removed. Please use the "scrivito_tag" helper instead. "scrivito_tag" now activates the link editor by default for all link attributes. } end |
#scrivito_edit_linklist(object, attribute_name, html_options = {}, editing_options = {}) ⇒ Object
44 45 46 47 48 49 50 |
# File 'lib/scrivito_editors/scrivito_tag_helper.rb', line 44 def scrivito_edit_linklist(object, attribute_name, = {}, = {}) raise %{ The "scrivito_edit_linklist" view helper has been removed. Please use the "scrivito_tag" helper instead. "scrivito_tag" now activates the linklist editor by default for all linklist attributes. } end |
#scrivito_edit_multienum(object, attribute_name, options = {}) ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/scrivito_editors/scrivito_tag_helper.rb', line 11 def scrivito_edit_multienum(object, attribute_name, = {}) raise %{ The "scrivito_edit_multienum" view helper has been removed. Please use the "scrivito_tag" helper instead. "scrivito_tag" now activates the multienum editor by default for all multienum attributes. } end |
#scrivito_edit_reference(object, attribute_name, options = {}) ⇒ Object
19 20 21 22 23 24 25 |
# File 'lib/scrivito_editors/scrivito_tag_helper.rb', line 19 def scrivito_edit_reference(object, attribute_name, = {}) raise %{ The "scrivito_edit_reference" view helper has been removed. Please use the "scrivito_tag" helper instead. "scrivito_tag" now activates the reference editor by default for all reference attributes. } end |
#scrivito_edit_referencelist(object, attribute_name, html_options = {}, editing_options = {}) ⇒ Object
27 28 29 30 31 32 33 34 |
# File 'lib/scrivito_editors/scrivito_tag_helper.rb', line 27 def scrivito_edit_referencelist(object, attribute_name, = {}, = {}) raise %{ The "scrivito_edit_referencelist" view helper has been removed. Please use the "scrivito_tag" helper instead. "scrivito_tag" now activates the referencelist editor by default for all referencelist attributes. } end |