Sha256: 7d882b4c6131431699d51d7f8ba22eea0bc6490c8fdc58c100060a1166d93896

Contents?: true

Size: 1.03 KB

Versions: 5

Compression:

Stored size: 1.03 KB

Contents

<% content_for :page_title do %>
  <%= Spree.t(:editing_resource, resource: Spree::ProductProperty.model_name.human) %> <span class="green">"<%= @product_property.property.presentation %>"</span>
<% end %>

<% content_for :page_actions do %>
  <%= button_link_to Spree.t(:back_to_resource_list, resource: Spree::ProductProperty.model_name.human), spree.admin_product_product_properties_path(@product_property.product), class: 'btn-primary', icon: 'icon-arrow-left' %>
<% end %>

<div class="row translations">
  <div class="col-md-4">
    <%= render 'fields' %>
  </div>
  <div class="col-md-8">
    <%= form_for [:admin, @resource.product, @resource], method: :patch do |f| %>
      <%= render 'form_fields', f: f %>
      <div class="form-actions" data-hook="buttons">
        <%= button Spree.t(:update), 'update' %>
        <span class="or"><%= Spree.t(:or) %></span>
        <%= button_link_to Spree.t(:cancel), spree.admin_product_product_properties_path(@product_property.product), icon: 'remove' %>
      </div>
    <% end %>
  </div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree_mobility-1.4.0 app/views/spree/admin/translations/product_property.html.erb
spree_mobility-1.3.0 app/views/spree/admin/translations/product_property.html.erb
spree_mobility-1.2.0 app/views/spree/admin/translations/product_property.html.erb
spree_mobility-1.1.0 app/views/spree/admin/translations/product_property.html.erb
spree_mobility-1.0.0 app/views/spree/admin/translations/product_property.html.erb