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

Extended by:
AbstractFormat
Defined in:
platypus/tmp/set/gem-defaults/mod010-rules/type/set/html_views/template.rb

Instance Method Summary collapse

Instance Method Details



16
17
18
# File 'platypus/tmp/set/gem-defaults/mod010-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 'platypus/tmp/set/gem-defaults/mod010-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