app/views/plugins/ecommerce/admin/shipping_methods/form.html.erb in camaleon_ecommerce-1.2 vs app/views/plugins/ecommerce/admin/shipping_methods/form.html.erb in camaleon_ecommerce-1.2.1
- old
+ new
@@ -1,14 +1,14 @@
<div class="panel panel-default">
<div class="panel-heading ui-draggable-handle">
- <h4><span class="fa fa-credit-card"></span> <%= @shipping_method.new_record? ? t('plugin.ecommerce.new_shipping_methods') : "#{t('plugin.ecommerce.edit_shipping_methods')}: #{@shipping_method.name}" %></h4>
+ <h4><span class="fa fa-credit-card"></span> <%= @shipping_method.new_record? ? t('plugins.ecommerce.new_shipping_methods') : "#{t('plugins.ecommerce.edit_shipping_methods')}: #{@shipping_method.name}" %></h4>
</div>
<%= form_for @shipping_method, url:{action: @shipping_method.new_record? ? :create : :update}, html: {class: 'validate-shipping_method', id: 'form-shipping_method'} do |f| %>
<div class="panel-body">
<%= render partial: 'layouts/camaleon_cms/admin/form_error', locals: {data: @shipping_method} %>
<div class="form-group">
- <%= f.label t('plugin.ecommerce.table.name') %><br>
+ <%= f.label t('plugins.ecommerce.table.name') %><br>
<%= f.text_field :name, :class => "form-control required" %>
</div>
<div class="form-group">
<%= f.label t('camaleon_cms.admin.table.slug') %><br>
<%= f.text_field :slug, :class => "form-control slug", "data-parent" => 'plugins_ecommerce_shipping_method_name' %>
@@ -20,16 +20,16 @@
<% options = @shipping_method.options rescue {url_tracking: 'http://trackingurl.com/track/{{consignment_number}}'}
options = params[:options] if params[:options].present?
%>
<div class="form-group">
- <label><%= t('plugin.ecommerce.table.url_tracking') %></label><br>
+ <label><%= t('plugins.ecommerce.table.url_tracking') %></label><br>
<%= text_field_tag( "options[url_tracking]", options[:url_tracking], class: "form-control required") %>
- <small><%= t('plugin.ecommerce.message.consignment_number') %></small>
+ <small><%= t('plugins.ecommerce.message.consignment_number') %></small>
</div>
<div class="form-group">
- <label><%= f.check_box :status %> <%= t('plugin.ecommerce.active') %></label>
+ <label><%= f.check_box :status %> <%= t('plugins.ecommerce.active') %></label>
</div>
</div>
<div class="panel-footer">
<a class="btn btn-default" href="<%= url_for action: :index %>" role="back"><%= t('camaleon_cms.admin.button.back')%></a>
<button class="btn btn-primary pull-right" type="submit"><%= t('camaleon_cms.admin.button.submit')%></button>