Skip to content

Commit

Permalink
Linter
Browse files Browse the repository at this point in the history
  • Loading branch information
ceithir committed Oct 24, 2023
1 parent 3a56132 commit 7cb1b04
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions app/views/tag_wranglings/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -106,28 +106,28 @@
<% @tags.each do |tag| %>
<% if tag.unwrangled? %>
<tr>
<th scope="row" title="<%= ts('tag') %>">
<%= check_box_tag 'selected_tags[]', tag.id, nil, id: "selected_tags_#{tag.id}" %>
<%= label_tag "selected_tags_#{tag.id}", "#{tag.name}" %>
<th scope="row" title="<%= ts("tag") %>">
<%= check_box_tag "selected_tags[]", tag.id, nil, id: "selected_tags_#{tag.id}" %>
<%= label_tag "selected_tags_#{tag.id}", tag.name.to_s %>
</th>

<td title="<%= ts('created') %>"><%= l(tag.created_at.to_date) %></td>
<td title="<%= ts("created") %>"><%= l(tag.created_at.to_date) %></td>

<td title="<%= ts('canonical?') %>">
<td title="<%= ts("canonical?") %>">
<% if tag.canonical? %>
<%= ts('Yes') %>
<%= ts("Yes") %>
<% else %>
<%= check_box_tag 'canonicals[]', tag.id, tag.canonical?, id: "canonicals_#{tag.id}" %>
<%= check_box_tag "canonicals[]", tag.id, tag.canonical?, id: "canonicals_#{tag.id}" %>
<% end %>
</td>

<td title="<%= ts("taggings") %>"><%= tag.taggings_count_cache %></td>

<td>
<ul class="actions" role="navigation">
<li><%= link_to ts('Edit'), {controller: :tags, action: :edit, id: tag} %></li>
<li><%= link_to ts('Wrangle'), {controller: :tags, action: :wrangle, id: tag} %></li>
<li><%= link_to ts('Works'), {controller: :works, action: :index, tag_id: tag} %></li>
<li><%= link_to ts("Edit"), { controller: :tags, action: :edit, id: tag } %></li>
<li><%= link_to ts("Wrangle"), { controller: :tags, action: :wrangle, id: tag } %></li>
<li><%= link_to ts("Works"), { controller: :works, action: :index, tag_id: tag } %></li>
</ul>
</td>
</tr>
Expand Down

0 comments on commit 7cb1b04

Please sign in to comment.