Sha256: aa0ba95c41f19bd83c499e1779a556617f20933caa93d3a53e896ffe71c56b69
Contents?: true
Size: 876 Bytes
Versions: 2
Compression:
Stored size: 876 Bytes
Contents
= error_messages_for @payment_method = form_for [comable, :admin, @payment_method] do |f| .hidden = f.submit fieldset .col-sm-3 legend = Comable.t('admin.general') .col-sm-9 .form-group = f.label :name = f.text_field :name .form-group = f.label :payment_provider .row .col-sm-6 = f.select :payment_provider_type, Comable::PaymentProvider.all.map { |provider_class| [provider_class.display_name, provider_class.name] } .col-sm-6 = f.select :payment_provider_kind, Comable::PaymentProvider::General.kind.map.with_index { |(_, value), index| [value, index] } .form-group = f.label :enable_price .row .col-sm-6 = f.text_field :enable_price_from .col-sm-6 = f.text_field :enable_price_to
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
comable_backend-0.3.4 | app/views/comable/admin/payment_methods/_form.slim |
comable_backend-0.3.3 | app/views/comable/admin/payment_methods/_form.slim |