Module: Card::Set::Type::Set::HtmlViews::Template::HtmlFormat
- Extended by:
- AbstractFormat
- Defined in:
- tmpsets/set/mod022-rules/type/set/html_views/template.rb
Instance Method Summary collapse
- #frame_header ⇒ Object
- #link_to_template_editor ⇒ Object
-
#standard_frame(slot = true) ⇒ Object
no slot, because frame is inside template_editor's slot.
- #template_frame_header ⇒ Object
Instance Method Details
#frame_header ⇒ Object
25 26 27 |
# File 'tmpsets/set/mod022-rules/type/set/html_views/template.rb', line 25 def frame_header voo.show?(:template_closer) ? template_frame_header : super end |
#link_to_template_editor ⇒ Object
16 17 18 |
# File 'tmpsets/set/mod022-rules/type/set/html_views/template.rb', line 16 def link_to_template_editor link_to_view :template_editor, voo.title, path: { slot: { title: voo.title } } end |
#standard_frame(slot = true) ⇒ Object
no slot, because frame is inside template_editor's slot
34 35 36 |
# File 'tmpsets/set/mod022-rules/type/set/html_views/template.rb', line 34 def standard_frame slot=true voo.show?(:template_closer) ? super(false) : super end |
#template_frame_header ⇒ Object
29 30 31 |
# File 'tmpsets/set/mod022-rules/type/set/html_views/template.rb', line 29 def template_frame_header [render_template_closer, _render_header] end |