add creature and base rp_world
This commit is contained in:
18
app/views/rp_worlds/index.html.erb
Normal file
18
app/views/rp_worlds/index.html.erb
Normal file
@@ -0,0 +1,18 @@
|
||||
<h2>Characters list</h2>
|
||||
|
||||
<table class="table table-hover table-dark table-image">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><%= t('rp_worlds.world_list.name') %></th>
|
||||
<th scope="col"><%= t('rp_worlds.world_list.description') %></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<% @rp_worlds.each do |world| %>
|
||||
<tr>
|
||||
<td><%= link_to world.name, world %></td>
|
||||
<td><%= world.description %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
</table>
|
||||
Reference in New Issue
Block a user