popolo-project/popolo-engine

View on GitHub
app/views/popolo/other_names/other_name.html.erb

Summary

Maintainability
Test Coverage
<li>
  <%= other_name.name %>
  <% if other_name.start_date? || other_name.end_date? %>
    (<%=l other_name.start_date %>—<%=l other_name.end_date %>)
  <% end %>
  <% if other_name.note? %>
    <span class="label label-info"><%= other_name.note %></span>
  <% end %>
</li>