Convert index tables to using table builder

This commit is contained in:
BrokenEagle
2020-01-03 06:19:30 +00:00
parent 917ffa87ed
commit 043944e1dd
47 changed files with 1161 additions and 1628 deletions

View File

@@ -2,7 +2,7 @@
<div id="a-index">
<h1>Notes</h1>
<%= table_for @notes, class: "striped autofit" do |t| %>
<%= table_for @notes, {class: "striped autofit"} do |t| %>
<% t.column "Post" do |note| %>
<%= link_to note.post_id, note.post %>
<% end %>