app/views/subscribers/show.html.erb in spree_mail-0.40.0.2 vs app/views/subscribers/show.html.erb in spree_mail-0.40.0.3
- old
+ new
@@ -1,16 +1,16 @@
-<h1>Unsubscribe from our Mailing List</h1>
+<h1><%= t("unsubscribe_title") %></h1>
-<p>Please enter your email address below:</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 "Unsubscribe" %> or
- <%= link_to "Cancel", root_path %>
+ <%= form.submit t("unsubscribe") %> or
+ <%= link_to t("cancel"), root_path %>
</p>
-<% end %>
\ No newline at end of file
+<% end %>