<%= form_with(model: account) do |form| %> <% if account.errors.any? %>

<%= pluralize(account.errors.count, "error") %> prohibited this account from being saved:

<% end %>
<%= form.text_field :name , { class: "input"} %>
<%= form.text_field :login , { class: "input"} %>
<%= form.text_field :password , { class: "input"} %>
<%= link_to "Return", "/accounts", class: "button is-success" %>
<% end %>
<%= button_to "Destroy", @account, method: :delete, class: "button is-danger" %>