Sha256: f32aa1b2fdb4a16954b46e0d46646d78718a94fe0443587ce9fda6dbba3464c6
Contents?: true
Size: 792 Bytes
Versions: 13
Compression:
Stored size: 792 Bytes
Contents
<%= form_for(@vendor) do |f| %> <% if @vendor.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@vendor.errors.count, "error") %> prohibited this vendor from being saved:</h2> <ul> <% @vendor.errors.full_messages.each do |msg| %> <li><%= msg %></li> <% end %> </ul> </div> <% end %> <div class="field"> <%= f.label :name %><br /> <%= f.text_field :name %> </div> <div class="field"> <%= f.label :url %><br /> <%= f.text_field :url %> </div> <div class="field"> <%= f.label :active %><br /> <%= f.check_box :active %> </div> <div class="field"> <%= f.label :description %><br /> <%= f.text_area :description %> </div> <div class="actions"> <%= f.submit %> </div> <% end %>
Version data entries
13 entries across 13 versions & 1 rubygems