Sha256: c8ee44c6c26ef7ee902c1a2c0e83be03afbad75704695106ae23aeeb80e0d2a1

Contents?: true

Size: 635 Bytes

Versions: 5

Compression:

Stored size: 635 Bytes

Contents

<% if flash[:notice].present? -%>
<p class="flash notice"><%= flash[:notice] %></p>
<% elsif flash[:error].present? -%>
<p class="flash error"><%= flash[:error] %></p>
<% end -%>

<% if @contact.nil? -%>

<%= form_tag alchemy_crm.overview_subscriptions_path do %>
  <%= label_tag :email, translate_model_attribute(:contact, :email) %>
  <%= email_field_tag :email %>
  <%= submit_tag alchemy_crm_t('Send subscriptions overview', :name => nil) %>
<% end -%>

<% else -%>

<% @contact.subscriptions.each do |subscription| -%>
<ul id="newsletter_subscriptions">
  <li><%= subscription.newsletter.name %></li>
</ul>
<% end -%>

<% end -%>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alchemy_crm-2.0.5 app/views/alchemy_crm/subscriptions/index.html.erb
alchemy_crm-2.0.4.1 app/views/alchemy_crm/subscriptions/index.html.erb
alchemy_crm-2.1.0a app/views/alchemy_crm/subscriptions/index.html.erb
alchemy_crm-2.0.3 app/views/alchemy_crm/subscriptions/index.html.erb
alchemy_crm-2.0.2 app/views/alchemy_crm/subscriptions/index.html.erb