add journal_list. now, those pair, (journal_title, journal_levels), is uniq
This commit is contained in:
1 parent
ccacef6d9e
commit
cc6339d59b
5 files changed
+52
-27
No files matched your search
@@ -1,21 +1,24 @@
|
||||
<h1>Listing desktop_journal_lists</h1>
|
||||
<h1>journal_title -- journal_level</h1>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
<div class="scrollbar sb_h vp"><div class="track"><div class="thumb thmc2"><div class="end"></div></div></div></div>
|
||||
<div class="viewport">
|
||||
<div class="overview">
|
||||
<div class="s_grid_con s_form">
|
||||
|
||||
<% @desktop_journal_lists.each do |desktop_journal_list| %>
|
||||
<tr>
|
||||
<td><%= link_to 'Show', desktop_journal_list %></td>
|
||||
<td><%= link_to 'Edit', edit_desktop_journal_list_path(desktop_journal_list) %></td>
|
||||
<td><%= link_to 'Destroy', desktop_journal_list, confirm: 'Are you sure?', method: :delete %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</table>
|
||||
<% @journal_lists.each_with_index do |journal_list,i| %>
|
||||
<% if ( i % 5 ) == 0 %>
|
||||
<div class="s_grid_con s_form">
|
||||
<ul>
|
||||
<% end %>
|
||||
<li class="s_grid_row">
|
||||
<%= journal_list %>
|
||||
</li>
|
||||
<% if ( i % 5 ) == 4 %>
|
||||
</ul>
|
||||
</div>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<br />
|
||||
|
||||
<%= link_to 'New Journal list', new_desktop_journal_list_path %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in new issue
Block a user