Sha256: 59d737003d257537517e0575f310856eeadaa8e99bc20be9a3917ad441919c2d
Contents?: true
Size: 1.5 KB
Versions: 1
Compression:
Stored size: 1.5 KB
Contents
<div class="panel panel-default"> <div class="panel-heading ui-draggable-handle"> <h4><span class="fa fa-cogs"></span> <%= t('plugin.ecommerce.e_commerce_settings') %></h4> </div> <%#= form_tag ({url:{action: @price.blank? ? :create : :update}}, :method => "post", :class => "form" ) do %> <%= form_tag(action: :saved, :method => "post", :class => "validate-settings") do %> <div class="panel-body"> <div class="form-group col-md-6"> <label><%= t('plugin.ecommerce.table.currency_unit') %></label><br> <%= select_tag( "setting[current_unit]", options_for_select(e_get_currency_units.collect{|k, x| ["#{x['name']} (#{x['symbol']})", x['code']]}, @setting[:current_unit] || 'USD'), class: "form-control required") %> </div> <div class="form-group col-md-6"> <label><%= t('plugin.ecommerce.table.currency_weight') %></label><br> <%= select_tag( "setting[current_weight]", options_for_select(e_get_currency_weight.collect{|k,x| ["#{x['name']} (#{x['code']})", x['code']]}, @setting[:current_weight] || 'kg'), class: "form-control required") %> </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> </div> <% end %> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
camaleon_ecommerce-0.0.4 | app/views/plugins/ecommerce/admin/settings/index.html.erb |