tabletop-companion/app/views/characters/index.html.erb

12 lines
251 B
Plaintext

<% content_for :title, t(".my_characters") %>
<h2><%= t(".my_characters") %></h2>
<%= link_to t(".add_character"), new_character_path %>
<% if @characters.any? %>
<%= render @characters %>
<% else %>
<p><%= t(".no_characters") %></p>
<% end %>