Sha256: b1de6ac2300d45e998d7a5b56662f70e689adbc21430e5445e6434595a714330

Contents?: true

Size: 686 Bytes

Versions: 7

Compression:

Stored size: 686 Bytes

Contents

<% if @subscription.plan.present? %>
<h2>You're Subscribed!</h2>
<p>Your currently subscribed to the <%= @subscription.plan.name %> plan.</p>
<%= link_to 'Choose Another Plan', edit_owner_subscription_path(@owner, @subscription), class: 'btn' %>
<% else %>
<h2>No Subscription</h2>
<p>You are not subscribed to a paid plan.</p>
<%= link_to 'Choose A Plan', edit_owner_subscription_path(@owner, @subscription), class: 'btn' %>
<% end %>

<br><br>

<h4>Payment Information</h4>
<p>The card on file for your account ends with <%= @subscription.last_four %>.</p>
<%= link_to 'Update Payment Information', edit_owner_subscription_path(@owner, @subscription, update: 'card'), class: 'btn' %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
koudoku-0.0.11 app/views/koudoku/subscriptions/show.html.erb
koudoku-0.0.10 app/views/koudoku/subscriptions/show.html.erb
koudoku-0.0.9 app/views/koudoku/subscriptions/show.html.erb
koudoku-0.0.8 app/views/koudoku/subscriptions/show.html.erb
koudoku-0.0.7 app/views/koudoku/subscriptions/show.html.erb
koudoku-0.0.6 app/views/koudoku/subscriptions/show.html.erb
koudoku-0.0.5 app/views/koudoku/subscriptions/show.html.erb