app/views/subscribers/show.html.erb in spree_mail-0.40.0.3 vs app/views/subscribers/show.html.erb in spree_mail-0.40.0.4
- old
+ new
@@ -1,16 +1,16 @@
-<h1><%= t("unsubscribe_title") %></h1>
+<h1><%= t('unsubscribe_title') %></h1>
-<p><%= t("unsubscribe_mail") %>:</p>
+<p><%= t('unsubscribe_mail') %>:</p>
<% token = Digest::SHA1.hexdigest(Time.now.to_s) %>
<%= form_for @subscriber, :url => unsubscribe_subscriber_path(@subscriber.token) do |form| %>
<p>
<%= form.label :email %>
<%= form.text_field :email, :value => "" %>
<%= form.hidden_field :token, :value => token %>
</p>
<p>
- <%= form.submit t("unsubscribe") %> or
- <%= link_to t("cancel"), root_path %>
+ <%= form.submit t('unsubscribe') %> or
+ <%= link_to t('cancel'), root_path %>
</p>
<% end %>