Skip to content

Commit

Permalink
added ebay site selector on resultset page
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Longhi committed Feb 20, 2010
1 parent 572aed3 commit 5c2fe1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -5,3 +5,4 @@ tmp/*.txt
config/database.yml
coverage/*
public/images/sandbox/*
*.gz
2 changes: 1 addition & 1 deletion app/views/admin/resultsets/_item.html.haml
Expand Up @@ -16,10 +16,10 @@
= hidden_field_tag 'auction[title]', item.title
= hidden_field_tag 'auction[item_id]', item.item_id
= hidden_field_tag 'auction[end_time]', item.end_time
= hidden_field_tag 'auction[ebay_site_id]', @resultset.ebay_site
= hidden_field_tag 'auction[currency_id]', item.current_price.currency_id
= hidden_field_tag 'auction[url]', item.view_item_url_for_natural_search
= hidden_field_tag 'auction[image_url]', item.gallery_url
= select_tag 'auction[ebay_site_id]', options_from_collection_for_select(EbaySite.all, 'name', 'name', @resultset.ebay_site)
= f.select :cosmetic_conditions, Auction::COSMETIC_CONDITIONS
= f.select :completeness, Auction::COMPLETENESSES
= hardware_selector(f)
Expand Down

0 comments on commit 5c2fe1c

Please sign in to comment.