Sha256: 2cfc4aa525bb74342ba041a9bb1891035593677c00f52cee5547d9f4a2a63dfe
Contents?: true
Size: 534 Bytes
Versions: 20
Compression:
Stored size: 534 Bytes
Contents
<%= form_with(model: app, local: true) do |form| %> <% if app.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(app.errors.count, "error") %> prohibited this app from being saved:</h2> <ul> <% app.errors.full_messages.each do |message| %> <li><%= message %></li> <% end %> </ul> </div> <% end %> <div class="field"> <%= form.label :name %> <%= form.text_field :name, id: :app_name %> </div> <div class="actions"> <%= form.submit %> </div> <% end %>
Version data entries
20 entries across 20 versions & 1 rubygems