class SectionVerseTemplate
def template
def template @template ||= ERB.new <<-EOF <div class='verseblock'> <% if !title.nil? %> <div class='title'><%= title %></div> <% end %> <pre class='content'><%= content %></pre> <div class='attribution'> <% if attr? :citetitle %> <em><%= attr :citetitle %></em> <% end %> <% if attr? :attribution %> <% if attr? :citetitle %> <br/> <% end %> <%= "— " + attr(:attribution) %> <% end %> </div> </div> EOF end