blob: 8a70ca4c88e5104345050bfb527af03814ef57ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<%= form_for(@sign_up) do |f| %>
<div class="field">
<%= f.label :email, "Want to know when we're ready to launch?" %>
<%= f.email_field :email, placeholder: 'Email' %>
<% if @sign_up.errors.any? %>
<div id="error_explanation">
<ul>
<% @sign_up.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul>
</div>
<% end %>
</div>
<div class="actions">
<%= f.submit "Sign up now" %>
</div>
<% end %>
|