<%= form_with(model: currency, local: true) do |form| %> <% if currency.errors.any? %>

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

<% end %>
<%= form.label :name %> <%= form.text_field :name %>
<%= form.label :symbol %> <%= form.text_field :symbol %>
<%= form.label :rate %> <%= form.text_field :rate %>
<%= form.label :active %> <%= form.check_box :active %>
<%= form.submit %>
<% end %>