decko-commons/decko

View on GitHub
mod/follow/set/all/notify/html_views.rb

Summary

Maintainability
A
0 mins
Test Coverage
format :html do
  # view :last_action, perms: :none, cache: :never do
  #   _render_last_action_verb
  # end

  def wrap_list list
    "<ul>#{list}</ul>\n"
  end

  def wrap_list_item item
    "<li>#{item}</li>\n"
  end

  def wrap_subedit_item
    "<li>#{yield}</li>\n"
  end
end