<% if ENV['AC_SUBHEADER'] %>

<%= ENV['AC_SUBHEADER'] %>

<% end %> <%= form_for(@signup) 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: 'span4 btn-large' %> <%= submit_tag ENV['AC_SUBMIT_TEXT'].html_safe, class: 'btn btn-success btn-large' %>
<% end %>