Sha256: 292d3f208502a1555aae539913bdc3f97731dd70a568dacc7c4e20d1d1b8eeee
Contents?: true
Size: 814 Bytes
Versions: 1
Compression:
Stored size: 814 Bytes
Contents
<%= form_for @contact do |f| %> <% if @contact.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(@contact.errors.count, "error") %> prohibited this contact from being saved:</h2> <ul> <% @contact.errors.full_messages.each do |msg| %> <li><%= msg %></li> <% end %> </ul> </div> <% end %> <div class="field"> <%= f.label :first_name %><br /> <%= f.text_field :first_name %> </div> <div class="field"> <%= f.label :last_name %><br /> <%= f.text_field :last_name %> </div> <div class="field"> <%= f.label :email %><br /> <%= f.text_field :email %> </div> <div class="field"> <%= f.label :comment %><br /> <%= f.text_area :comment %> </div> <div class="actions"> <%= f.submit %> </div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
contactify-0.1 | app/views/contactify/contacts/_form.html.erb |