Sha256: 33194a974f198ee45f019f1ff6539a540ca92fd2bfd0ae0f3c00118f6e18a07d
Contents?: true
Size: 609 Bytes
Versions: 4
Compression:
Stored size: 609 Bytes
Contents
<%= form_for(@trumpet) do |f| %> <% if @trumpet.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@trumpet.errors.count, "error") %> prohibited this trumpet from being saved:</h2> <ul> <% @trumpet.errors.full_messages.each do |msg| %> <li><%= msg %></li> <% end %> </ul> </div> <% end %> <div class="field"> <%= f.label :brand %><br /> <%= f.text_field :brand %> </div> <div class="field"> <%= f.label :loudness %><br /> <%= f.text_field :loudness %> </div> <div class="actions"> <%= f.submit %> </div> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems