decko-commons/decko

View on GitHub
mod/rules/set/type/set/html_views/template.rb

Summary

Maintainability
A
0 mins
Test Coverage
format :html do
  view :template_link, cache: :never do
    wrap do
      voo.title = parent.voo.nest_syntax if parent
      "{{#{link_to_template_editor}}}"
    end
  end

  def link_to_template_editor
    link_to_view :modal_nest_rules, voo.title
  end
end