Sha256: ca60448bd806e04a8063e5a0f0182de68b3d94e1d289f6fe3e2a4f701d725065

Contents?: true

Size: 1.02 KB

Versions: 1

Compression:

Stored size: 1.02 KB

Contents

<div class="panel panel-default">
  <div class="panel-heading">
    <h4><span class="fa fa-cog"></span> <%= t('plugin.ecommerce.edit_order') %>: <%= @order.slug %></h4>
  </div>
  <%= form_for @order, url: {action: @order.new_record? ? :create : :update}, html: {class: 'form-order', id: 'form-order'} do |f| %>
      <div class="panel-body">
        <%= render plugin_view('partials/checkout/user_info'), cart: @order, as_partial: true %>
          <hr>
        <div class="form-group">
            <%= f.label nil, t('plugin.ecommerce.show_order.consignment_number', default: 'Consignment Number')  %>
            <%= text_field_tag 'metas[consignment_number]', @order.get_meta('consignment_number'), class: 'form-control' %>
        </div>
      </div>

      <div class="panel-footer">
        <button class="btn btn-default" onclick="history.back()"><%= t('camaleon_cms.admin.button.back') %></button>
        <button class="btn btn-primary pull-right"><%= t('camaleon_cms.admin.button.update') %></button>
      </div>
  <% end %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
camaleon_ecommerce-1.1 app/views/plugins/ecommerce/admin/orders/form.html.erb