Sha256: 8432f2021de6b5213bbb3ee822aa87838fdd0cb74f12c5b26e5ca267e9f3ddbb

Contents?: true

Size: 905 Bytes

Versions: 2

Compression:

Stored size: 905 Bytes

Contents

<% if @subscription.plan.present? %>
  <h2><%= t('koudoku.subscriptions.subscribed') %></h2>
  <p><%= t('koudoku.subscriptions.subscribed_to_plan', :plan => @subscription.plan.name) %></p>
  <%= link_to t('koudoku.subscriptions.choose_other_plan'), edit_owner_subscription_path(@owner, @subscription), class: 'btn' %>
<% else %>
  <h2><%= t('koudoku.subscriptions.no_subscription') %></h2>
  <p><%= t('koudoku.subscriptions.not_subscribed_to_plan') %></p>
  <%= link_to t('koudoku.subscriptions.choose_plan'), edit_owner_subscription_path(@owner, @subscription), class: 'btn' %>
<% end %>

<br><br>

<h4><%= t('koudoku.payment.payment_information') %></h4>
<p><%= t('koudoku.payment.card_on_file_with_last_four', :last_four => @subscription.last_four) %></p>
<%= link_to t('koudoku.payment.update_payment_information'), edit_owner_subscription_path(@owner, @subscription, update: 'card'), class: 'btn' %>

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
koudoku-2.0.0 app/views/koudoku/subscriptions/show.html.erb
thumbjive-koudoku-1.5.0 app/views/koudoku/subscriptions/show.html.erb