app/views/phcpresspro/article/categories/index.html.erb in phcpresspro-81.0.0 vs app/views/phcpresspro/article/categories/index.html.erb in phcpresspro-82.0.0
- old
+ new
@@ -38,16 +38,16 @@
</tr>
</thead>
<tbody>
<% @article_categories.each do |article_category| %>
<tr>
- <td><%= link_to article_category.catname, phcpresspro.edit_article_category_path(article_category) %></td>
+ <td><%= link_to article_category.category_name, phcpresspro.edit_article_category_path(article_category) %></td>
<td><%= link_to 'Trash', article_category, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %></td>
</tr>
<% end %>
</tbody>
</table>
- <%= link_to phcpresspro.new_article_category_path, class: "btn btn-primary" do %>
+ <%= link_to phcpresspro.new_article_category_path, class: "btn btn-primary btn-sm" do %>
<i class="fas fa-plus-circle"></i>
<%= "Add a New Article Category" %>
<% end %>
</div>
<!-- Table - Category Index -->