app/views/plugins/ecommerce/admin/payment_methods/form.html.erb in camaleon_ecommerce-1.2.1 vs app/views/plugins/ecommerce/admin/payment_methods/form.html.erb in camaleon_ecommerce-2.0.0

- old
+ new

@@ -7,14 +7,10 @@ <%= render partial: 'layouts/camaleon_cms/admin/form_error', locals: {data: @payment_method} %> <div class="form-group"> <%= f.label t('plugins.ecommerce.table.name') %><br> <%= f.text_field :name, :class => "form-control required" %> </div> - <div class="form-group hidden"> - <%= f.label t('camaleon_cms.admin.table.slug') %><br> - <%= f.text_field :slug, :class => "form-control slug", "data-parent" => 'plugins_ecommerce_payment_method_name' %> - </div> <div class="form-group"> <%= f.label t('plugins.ecommerce.table.description') %><br> <%= f.text_area :description, :class => "form-control translatable", :rows => 4 %> </div> <div class="form-group"> @@ -45,15 +41,15 @@ <label><%= t('plugins.ecommerce.table.number_account_bank') %></label><br> <%= text_field_tag( "options[bank_transfer_number_account]", options[:bank_transfer_number_account], class: "form-control required") %> </div> <div class="form-group"> <label><%= t('plugins.ecommerce.table.details') %></label><br> - <%= text_area_tag( "options[bank_transfer_detail]", options[:bank_transfer_detail], class: "form-control required") %> + <%= text_area_tag( "options[bank_transfer_detail]", options[:bank_transfer_detail], class: "form-control required translatable") %> </div> </div> <div class="tab-pane <%= 'active' if options[:type] == 'paypal' %>" id="tab9"> - <a href="http://support.berta.me/kb/online-shop/how-to-get-paypal-api-username-password-and-signature-information">Steps here: http://support.berta.me/kb/online-shop/how-to-get-paypal-api-username-password-and-signature-information</a> + <a target="_blank" href="http://support.berta.me/kb/online-shop/how-to-get-paypal-api-username-password-and-signature-information">Steps here: http://support.berta.me/kb/online-shop/how-to-get-paypal-api-username-password-and-signature-information</a> <%= hidden_field_tag( "options[type]", 'paypal') %> <div class="form-group"> <label><%= t('plugins.ecommerce.table.username_login') %></label><br> <%= text_field_tag( "options[paypal_login]", options[:paypal_login], class: "form-control required") %> </div>