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

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

<% end %>
<%= form.label :company_name, style: "display: block" %> <%= form.text_field :company_name %>
<%= form.label :firstname, style: "display: block" %> <%= form.text_field :firstname %>
<%= form.label :lastname, style: "display: block" %> <%= form.text_field :lastname %>
<%= form.label :streetname, style: "display: block" %> <%= form.text_field :streetname %>
<%= form.label :zipcode, style: "display: block" %> <%= form.text_field :zipcode %>
<%= form.label :city, style: "display: block" %> <%= form.text_field :city %>
<%= form.label :country, style: "display: block" %> <%= form.text_field :country %>
<%= form.label :email, style: "display: block" %> <%= form.text_field :email %>
<%= form.label :phone, style: "display: block" %> <%= form.text_field :phone %>
<%= form.submit %>
<% end %>