Sha256: d7d4cd646a99eb7c120dd548ac9f873708cca440202bd08924945001abbd5dd1
Contents?: true
Size: 1.04 KB
Versions: 2
Compression:
Stored size: 1.04 KB
Contents
Add Customer - form_for [:admin, @shop_customer] do |f| %p = f.label :name, 'Name:' = f.text_field :name %p = f.label :email, 'Email:' = f.text_field :email %p = f.label :login, 'Login:' = f.text_field :login %p = f.label :password, "Password" = f.password_field "password", :value => "", :size => 15, :maxlength => 40 %p = f.label :password_confirmation, "Confirm Password" = f.password_field "password_confirmation", :value => "", :size => 15, :maxlength => 40 %p = f.label :reference, 'Reference:' = f.text_field :reference %p = f.label :Organization, 'Organization:' = f.text_field :organization %p = f.submit "Save" - if @shop_customers.empty? %p There are no customers. - else %form - @shop_customers.each do |customer| %p = customer.name = link_to "Add Order", "", :style => "color: blue;" = link_to "Delete Customer", "/admin/shop/customers/#{customer.id}", :confirm => "Are you sure?", :method => :delete, :style => "color: blue;"
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
radiant-shop-extension-0.9.3 | app/views/admin/shop/customers/index.html.haml |
radiant-shop-extension-0.9.2 | app/views/admin/shop/customers/index.html.haml |