%= form_with(model: app, local: true) do |form| %>
<% if app.errors.any? %>
<%= pluralize(app.errors.count, "error") %> prohibited this app from being saved:
<% app.errors.full_messages.each do |message| %>
- <%= message %>
<% end %>
<% end %>
<%= form.label :name %>
<%= form.text_field :name, id: :app_name %>
<%= form.submit %>
<% end %>