Newer
Older
dmpopidor / app / views / annotations / _show.html.erb
@briley briley on 18 Jul 2017 319 bytes started work on plan write redesign
<!--show annotations. annotation is passed as an argument-->
<% if annotation.type == :example_answer %>
  <h3><%= _('Example Answer') %> </h3>
<% elsif annotation.type == :guidance %>
  <h3><%= _('Guidance') %> </h3>
<% else %>
  <h3><%= _('Annotation') %> </h3>
<% end %>

<p><%= raw annotation.text %></p>