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

Version Path
wordjelly-auth-1.6.0 app/views/auth/shopping/payments/_form.html.erb
wordjelly-auth-1.5.9 app/views/auth/shopping/payments/_form.html.erb
wordjelly-auth-1.5.8 app/views/auth/shopping/payments/_form.html.erb
wordjelly-auth-1.5.7 app/views/auth/shopping/payments/_form.html.erb
wordjelly-auth-1.5.6 app/views/auth/shopping/payments/_form.html.erb
wordjelly-auth-1.5.5 app/views/auth/shopping/payments/_form.html.erb
wordjelly-auth-1.5.4 app/views/auth/shopping/payments/_form.html.erb
wordjelly-auth-1.5.3 app/views/auth/shopping/payments/_form.html.erb
wordjelly-auth-1.5.2 app/views/auth/shopping/payments/_form.html.erb
wordjelly-auth-1.5.1 app/views/auth/shopping/payments/_form.html.erb
wordjelly-auth-1.5.0 app/views/auth/shopping/payments/_form.html.erb
wordjelly-auth-1.4.9 app/views/auth/shopping/payments/_form.html.erb
wordjelly-auth-1.4.8 app/views/auth/shopping/payments/_form.html.erb
wordjelly-auth-1.4.7 app/views/auth/shopping/payments/_form.html.erb
wordjelly-auth-1.4.6 app/views/auth/shopping/payments/_form.html.erb
wordjelly-auth-1.4.5 app/views/auth/shopping/payments/_form.html.erb
wordjelly-auth-1.4.4 app/views/auth/shopping/payments/_form.html.erb
wordjelly-auth-1.4.3 app/views/auth/shopping/payments/_form.html.erb
wordjelly-auth-1.4.2 app/views/auth/shopping/payments/_form.html.erb
wordjelly-auth-1.4.0 app/views/auth/shopping/payments/_form.html.erb