= provide(:title, 'Unsubscribe')

- if request.get?
  %h2 Unsubscribe from all JamKazam email for address #{@user} ?
  %br
  = form_tag("") do
    = submit_tag('Unsubscribe')
    = hidden_field_tag(:user_token, params[:user_token])
- elsif request.post?
  - if @user && ! @user.subscribe_email  
    %h2 You have been unsubscribed.

