futhr/spree_reviews — pull request #1 by zerothabhishek (2013-07-16 10:25:49+00:00)
Title: Ui fixes

Makes the UI functional.

### Commit Summary
- 594aba3e53017a0b31815a029f5b86cd56054a76 product here should be the '@'product variable
- a0892a5a52d0938cd64320caf8a10cbc05503404 Spree::Review has validates_numericality_of :rating, so values submitted can't be '2 stars' or '3 stars'. They should be numbers only
- 8dcc8dda806b444c25d336323d234a9feddaa26e Passing locals to partial, a more correct syntax. Older syntax doesn't make 'edit_enabled' available in _starts.html.erb
- bf90dde123aab20fe72ad1519502f0963d983447 require spree_frontend in load path to get the store/* assets correct

### Test coverage
right now is __145 / 193 LOC (75.13%)__, and all tests are passing (I've not added any tests)

### UI screenshots :

#### Reviews On Product Page
![reviews on product page](http://i.imgur.com/SDZK4q0.png?1)

#### Review Form Linked From Product Page
![review form linked from product page](http://i.imgur.com/AiQrr8z.jpg?1)

#### Reviews Admin
![reviews admin](http://i.imgur.com/xVQ8ey1.jpg?1)