Module: Card::Set::Type::Set::HtmlViews::Template::HtmlFormat

Extended by:
AbstractFormat
Defined in:
card/tmpsets/set/mod036-card-mod-rules/type/set/html_views/template.rb,
card/tmpsets/set/mod037-card-mod-rules/type/set/html_views/template.rb

Instance Method Summary collapse

Instance Method Details



16
17
18
# File 'card/tmpsets/set/mod036-card-mod-rules/type/set/html_views/template.rb', line 16

def link_to_template_editor
  link_to_view :modal_nest_rules, voo.title
end


9
10
11
12
13
14
# File 'card/tmpsets/set/mod036-card-mod-rules/type/set/html_views/template.rb', line 9

view :template_link, cache: :never do
  wrap do
    voo.title = parent.voo.nest_syntax if parent
    "{{#{link_to_template_editor}}}"
  end
end