Sha256: 2e43ccdc9c1a57c6294ae4457e1f83866ae9fb7b86e9d1f012728eee76735108

Contents?: true

Size: 585 Bytes

Versions: 8

Compression:

Stored size: 585 Bytes

Contents

<li class="list-group-item" id="subscription_<%= subscription.id %>">
  <%= link_to edit_polymorphic_url([:dashboard, subscription]), class: "list-group-link storytime-modal-trigger", id: "edit-subscription-#{subscription.id}", remote: true do %>
    <%= subscription.email %>
    <p class="<%= subscription.subscribed? ? 'text-primary' : 'text-muted' %> no-margin"><%= subscription.subscribed? ? "Subscribed" : "Unsubscribed" %></p>
  <% end %>
  <div class="list-group-actions">
    <%= delete_resource_link subscription, polymorphic_url([:dashboard, subscription]) %>
  </div>
</li>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
storytime-2.1.6 app/views/storytime/dashboard/subscriptions/_subscription.html.erb
storytime-2.1.5 app/views/storytime/dashboard/subscriptions/_subscription.html.erb
storytime-2.1.4 app/views/storytime/dashboard/subscriptions/_subscription.html.erb
storytime-2.1.3 app/views/storytime/dashboard/subscriptions/_subscription.html.erb
storytime-2.1.2 app/views/storytime/dashboard/subscriptions/_subscription.html.erb
storytime-2.1.1 app/views/storytime/dashboard/subscriptions/_subscription.html.erb
storytime-2.1.0 app/views/storytime/dashboard/subscriptions/_subscription.html.erb
storytime-2.0.0 app/views/storytime/dashboard/subscriptions/_subscription.html.erb