[openstreetmap-website] AJAXey commenting on notes from the browse page (#264)
John Firebaugh
notifications at github.com
Thu Aug 22 00:43:14 UTC 2013
Right now the comment form is only visible if there's already a comment. I would revert the last commit and then remove the `clearfix` class from both sections -- that seems to fix the whitespace problem.
And as a code style improvement, instead of splitting the opening tag with a conditional:
```
<div class='browse-section <%= "hidden" if @note.comments.empty? %>'>
```
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/264#issuecomment-23061408
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20130821/4b74d5ef/attachment-0001.html>
More information about the rails-dev
mailing list