Sha256: 9279d8c55f07357290f7c4c42c2e4d1574dbf963c3e6f5d0e94674e2afc50d1c
Contents?: true
Size: 1.72 KB
Versions: 6
Compression:
Stored size: 1.72 KB
Contents
<div class="panel panel-default"> <div class="panel-heading"> <h4><span class="fa fa-cog"></span> <%= t('plugins.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('plugins.ecommerce.show_order.consignment_number', default: 'Consignment Number') %> <%= text_field_tag 'metas[consignment_number]', @order.get_meta('consignment_number'), class: 'form-control' %> </div> <div class="form-group"> <%= f.label nil, t('plugins.ecommerce.front.orders.show.date_shipped', default: 'Date Shipped') %> <div class="input-group date date-input-box"> <%= f.text_field :shipped_at, class: 'form-control' %> <span class="add-on input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span> </div> </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> <script> jQuery(function () { $('#form-order').find('#plugins_ecommerce_order_shipped_at').parent().datetimepicker({ format: 'YYYY-MM-DD HH:mm' });; }) </script> <% end %> </div>
Version data entries
6 entries across 6 versions & 1 rubygems