Sha256: d35a33813e748b3962ae6187319aafd05f5a986a064cc564e83f1dbdc522bc3b

Contents?: true

Size: 855 Bytes

Versions: 2

Compression:

Stored size: 855 Bytes

Contents

<%= form_for([:services, @site_signup]) do |f| %>
  <% if @site_signup.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@site_signup.errors.count, "error") %> prohibited this site_signup from being saved:</h2>

      <ul>
      <% @site_signup.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 :email_address %><br />
    <%= f.text_field :email_address %>
  </div>
  <div class="field">
    <%= f.label :requested_url %><br />
    <%= f.text_field :requested_url %>
  </div>
  <div class="field">
    <%= f.label :active %><br />
    <%= f.check_box :active %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ccs_core_gem-0.0.7 app/views/services/site_signups/_form.html.erb
ccs_core_gem-0.0.6 app/views/services/site_signups/_form.html.erb