%= form_with(model: history_qec_person, local: true) do |form| %>
<% if history_qec_person.errors.any? %>
<%= pluralize(history_qec_person.errors.count, "error") %> prohibited this history_qec_person from being saved:
<% history_qec_person.errors.full_messages.each do |message| %>
- <%= message %>
<% end %>
<% end %>
<%= form.label :competenza %>
<%= form.date_select :competenza %>
<%= form.label :person_id %>
<%= form.text_field :person_id %>
<%= form.label :house_id %>
<%= form.text_field :house_id %>
<%= form.label :region_id %>
<%= form.text_field :region_id %>
<%= form.label :citizenship_id %>
<%= form.text_field :citizenship_id %>
<%= form.submit %>
<% end %>