Sha256: 9fa12404dd94ebb1a89d19035dc433cf495aa7fa457e4c600028493fa8f460e1
Contents?: true
Size: 779 Bytes
Versions: 59
Compression:
Stored size: 779 Bytes
Contents
<%= form_for(@auth_shopping_payment, url: @auth_shopping_payment.new_record? ? payments_path : payment_path(@auth_shopping_payment), method: @auth_shopping_payment.new_record? ? :post : :put) do |f| %> <%= render :partial => "auth/shared/object_errors.html.erb", locals: {active_model_object: @auth_shopping_payment} %> <div class="form_fields"> <% @auth_shopping_payment.class.attribute_names.keep_if{|c| !@auth_shopping_payment.field_names_to_skip_while_making_form.include? c.to_s}.each do |attr| %> <%= text_field :payment, attr.to_sym , :value => @auth_shopping_payment.send("#{attr}") %> <%= label :payment, attr.to_sym %> <% end %> </div> <div class="actions"> <%= f.submit %> </div> <% end %>
Version data entries
59 entries across 59 versions & 1 rubygems