update suppliers bootstrap themed

This commit is contained in:
2012-08-27 21:52:54 +02:00
parent 147513bb5b
commit 0b16614d41
3 changed files with 83 additions and 4 deletions
+21 -1
View File
@@ -4,13 +4,33 @@ div.page-header= title :index, model_class
table.table.table-striped
thead
tr
th= model_class.human_attribute_name(:email)
th= model_class.human_attribute_name(:encrypted_password)
th= model_class.human_attribute_name(:remember_created_at)
th= model_class.human_attribute_name(:reset_password_token)
th= model_class.human_attribute_name(:reset_password_sent_at)
th= model_class.human_attribute_name(:sign_in_count)
th= model_class.human_attribute_name(:current_sign_in_at)
th= model_class.human_attribute_name(:last_sign_in_at)
th= model_class.human_attribute_name(:current_sign_in_ip)
th= model_class.human_attribute_name(:last_sign_in_ip)
th= model_class.human_attribute_name(:name)
th= model_class.human_attribute_name(:created_at)
th=t 'helpers.actions'
tbody
- @suppliers.each do |supplier|
tr
td= link_to supplier.name, supplier
td= link_to supplier.email, supplier
td= supplier.encrypted_password
td= supplier.remember_created_at
td= supplier.reset_password_token
td= supplier.reset_password_sent_at
td= supplier.sign_in_count
td= supplier.current_sign_in_at
td= supplier.last_sign_in_at
td= supplier.current_sign_in_ip
td= supplier.last_sign_in_ip
td= supplier.name
td=l supplier.created_at, format: :short
td
= link_to t('helpers.links.edit'), [:edit, supplier], class: 'btn btn-mini'