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

12 lines
251 B
Plaintext
Raw Normal View History

2024-06-05 17:46:27 +00:00
<% 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 %>