Sha256: 6481b1816c311e049fc12a1c39d88f442ab92d78d9266f62662631022d09fc47

Contents?: true

Size: 1004 Bytes

Versions: 53

Compression:

Stored size: 1004 Bytes

Contents

<% provide(:breadcrumb, 'Shops') %>
<% provide(:breadcrumb_url, admin_shops_path) %>
<% provide(:title, 'Edit subscription') %>

<div class="next-grid">
  <div class="next-grid__cell">

    <%= form_for(@subscription, url: admin_shop_subscription_path(@subscription.shop, @subscription)) do |f| %>

      <%= f.label(:amount) %>
      <%= f.number_field(:amount) %>

      <%= f.label(:trial_period_days) %>
      <%= f.number_field(:trial_period_days) %>

      <p>
        Note that adjusting the amount or trial days of the subscription will
        clear any charge previously authorized by the user, and they'll be asked
        to re-authorize the next time they open the application.
      </p>

      <p>
        If you're changing the amount of a subscription for an existing user and
        don't want them to get another trial period, make sure to set "Trial
        period days" to zero.
      </p>

      <%= f.submit 'Save', { class: 'btn btn-primary' } %>

    <% end %>

  </div>
</div>

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
disco_app-0.11.1 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.12.0 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.12.1 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.12.5 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.12.6 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.12.7 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.13.0 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.13.1 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.13.2 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.13.3 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.13.4 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.13.5 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.13.6 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.13.7 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.13.8 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.14.1 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.14.2 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.15.0 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.16.0 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.17.0 app/views/disco_app/admin/subscriptions/edit.html.erb