Sha256: 2dd76bb9d5120f0e0ece9cc29fae6367002b14dcb76326435e9a2431c65f9f61

Contents?: true

Size: 621 Bytes

Versions: 1

Compression:

Stored size: 621 Bytes

Contents

<% content_for(:page_title) { t('.title') } %>

<% content_for :page_actions do %>
  <li><%= button_link_to t('.back'), admin_subscriptions_path %></li>
<% end %>

<% content_for :sidebar_title do %>
  Details
<% end %>

<% content_for :sidebar do %>
  <%= render 'spree/admin/subscriptions/legacy_sidebar' if @subscription.respond_to?(:line_item) %>
<% end %>

<%= form_for @subscription, url: spree.admin_subscription_path(@subscription) do |f| %>
  <% if f.object.respond_to?(:line_items) %>
    <%= render "form", f: f %>
  <% else %>
    <%= render "legacy_form",  f: f %>
  <% end %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_subscriptions-alpha-0.0.4 app/views/spree/admin/subscriptions/edit.html.erb