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.16.1.pre.sidekiq.pre.6.pre.release app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.9.0 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.9.1 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.9.2 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.9.3 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.9.4 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.9.5 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.9.6 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.9.7 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.9.8 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.9.9 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.9.10 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.9.11 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.10.0 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.10.1 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.10.2 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.10.3 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.10.4 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.10.5 app/views/disco_app/admin/subscriptions/edit.html.erb
disco_app-0.11.0 app/views/disco_app/admin/subscriptions/edit.html.erb