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

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

<% end %>
<%= form.label :period, style: "display: block" %> <%= form.text_field :period %>
<%= form.label :employer, style: "display: block" %> <%= form.text_field :employer %>
<%= form.label :title, style: "display: block" %> <%= form.text_field :title %>
<%= form.label :technologies, style: "display: block" %> <%= form.text_field :technologies %>
<%= form.label :achivements, style: "display: block" %> <%= form.text_field :achivements %>
<%= form.submit %>
<% end %>