Accounts

<%= form_with url: set_default_accounts_path, method: :patch, local: true do %> <% @accounts.each_with_index do |account, index| %> <% end %>
Default Name Description Classification Active
<%= radio_button_tag "default_account_id", account.id, account.default %> <%= account.name %> <%= account.description %> <%= account.classification %> <%= account.active ? "Yes" : "No" %>
<%= submit_tag "Save Default Account", style: "padding: 6px 12px; font-weight: bold;" %>
<% end %>