app/views/astrochimp/signups/_form.html.erb in astrochimp-0.2.1 vs app/views/astrochimp/signups/_form.html.erb in astrochimp-0.2.2
- old
+ new
@@ -1,7 +1,7 @@
-<% if ENV['SUBHEADER'] %>
- <h2><%= ENV['SUBHEADER'] %></h2>
+<% if ENV['AC_SUBHEADER'] %>
+ <h2><%= ENV['AC_SUBHEADER'] %></h2>
<% end %>
<%= form_for(@signup) do |f| %>
<% if @signup.errors.any? %>
<div class="alert alert-error">
<a class="close" data-dismiss="alert">×</a>
@@ -13,10 +13,10 @@
<div class="control-group">
<div class="controls">
<div class="input-append">
<%= 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['SUBMIT_TEXT'].html_safe, class: 'btn btn-success btn-large' %>
+ <%= submit_tag ENV['AC_SUBMIT_TEXT'].html_safe, class: 'btn btn-success btn-large' %>
</div>
</div>
</div>
<% end %>