Please enter your email address below:
<% token = Digest::SHA1.hexdigest(Time.now.to_s) %> <%= form_for @subscriber, :url => unsubscribe_subscriber_path(@subscriber.token) do |form| %><%= form.label :email %> <%= form.text_field :email, :value => "" %> <%= form.hidden_field :token, :value => token %>
<%= form.submit "Unsubscribe" %> or <%= link_to "Cancel", root_path %>
<% end %>