[openstreetmap-website] Moderate updates to the diary functionality. (#68)

Tom Hughes notifications at github.com
Wed Aug 15 23:08:03 BST 2012


> @@ -1,30 +1,26 @@
> -<b><%= link_to h(diary_entry.title), :action => 'view', :display_name => diary_entry.user.display_name, :id => diary_entry.id %></b><br />
> -
> -<div xml:lang="<%= diary_entry.language_code %>" lang="<%= diary_entry.language_code %>">
> -  <%= diary_entry.body.to_html %>
> -</div>
> +<div class='diary-entry'>

We're already using the `diary_entry` class on the create/edit page so using it here as well (with CSS rules attached) may lead to unintended consequences?

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/68/files#r1387897
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20120815/c20123c3/attachment.html>


More information about the rails-dev mailing list