<%= ENV['AC_SUBHEADER'] %>

<%= form_for @signup, html: { class: "ac-form" } do |f| %> <% if @signup.errors.any? %>
× <% @signup.errors.full_messages.each do |msg| %> <%= content_tag :div, msg, :id => "flash_error" if msg.is_a?(String) %> <% end %>
<% end %>
<%= text_field_tag :email, (params[:signup][:email] if params[:signup] or nil), name: 'signup[email]', placeholder: 'Email address', class: 'ac-email span4 btn-large' %> <%= submit_tag ENV['AC_SUBMIT_TEXT'].html_safe, class: 'ac-submit btn btn-success btn-large' %>
<% end %>