%= form_with(model: api, local: true) do |form| %>
<% if api.errors.any? %>
<%= pluralize(api.errors.count, "error") %> prohibited this api from being saved:
<% api.errors.full_messages.each do |message| %>
- <%= message %>
<% end %>
<% end %>
<%= form.label :rfc %>
<%= form.text_area :rfc %>
<%= form.label :rftrolling_foreign_key %>
<%= form.number_field :rftrolling_foreign_key %>
<%= form.label :code_id %>
<%= form.text_field :code_id %>
<%= form.submit %>
<% end %>