2013-02-05 14:16:51 -05:00
|
|
|
<div class='container'>
|
|
|
|
|
2014-07-15 17:19:45 -04:00
|
|
|
<%- if @success %>
|
2013-02-05 14:16:51 -05:00
|
|
|
<h2><%= t :'unsubscribed.title' %></h2>
|
2014-07-15 17:19:45 -04:00
|
|
|
<br/>
|
2013-02-05 14:16:51 -05:00
|
|
|
|
|
|
|
<p><%= t :'unsubscribed.description' %></p>
|
|
|
|
|
|
|
|
<p><%= t :'unsubscribed.oops' %></p>
|
|
|
|
|
|
|
|
<%= form_tag(email_resubscribe_path(key: params[:key])) do %>
|
|
|
|
<%= submit_tag t(:'resubscribe.action'), class: 'btn btn-danger' %>
|
2013-02-25 11:42:20 -05:00
|
|
|
<% end %>
|
2013-02-05 14:16:51 -05:00
|
|
|
<%- else %>
|
2014-07-15 17:19:45 -04:00
|
|
|
<h2><%= t :'unsubscribed.error' %></h2>
|
|
|
|
<br/>
|
|
|
|
<%- if @different_user %>
|
|
|
|
<p><%= t :'unsubscribed.different_user_description' %></p>
|
|
|
|
<%- end %>
|
|
|
|
|
|
|
|
<%- if @not_found %>
|
|
|
|
<p><%= t :'unsubscribed.not_found_description' %></p>
|
|
|
|
<%- end %>
|
2013-02-05 14:16:51 -05:00
|
|
|
|
2014-07-15 17:19:45 -04:00
|
|
|
<p><%=raw(t :'unsubscribed.preferences_link') %></p>
|
2013-02-05 14:16:51 -05:00
|
|
|
|
2014-07-15 17:19:45 -04:00
|
|
|
<%- end %>
|
2013-02-05 14:16:51 -05:00
|
|
|
|
|
|
|
</div>
|