Sha256: 8d6cd7e8e92139527a00cd60f65ab7ccbfd690a4f4a6970e2d0ea52626e43011
Contents?: true
Size: 649 Bytes
Versions: 1
Compression:
Stored size: 649 Bytes
Contents
<% # Clients of this partial must supply the following variables: # thread # user %> <% is_subscribed = thread.subscription_for(user) %> <% sub_string = is_subscribed ? "unsubscribe" : "subscribe" %> <%= link_to t("commontator.subscription.actions.#{sub_string}"), commontator.polymorphic_path([sub_string, thread]), :confirm => (is_subscribed ? t('commontator.subscription.actions.confirm_unsubscribe') : \ nil), :method => :put, :id => "thread_#{thread.id.to_s}_#{sub_string}_link", :class => "thread_#{sub_string}_link", :remote => true %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
commontator-4.6.0 | app/views/commontator/subscriptions/_link.html.erb~ |