Skip to content

Commit

Permalink
Simplify menu. Style tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
topfunky committed Sep 12, 2008
1 parent 0b970e7 commit 743d2a7
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
<li><%= link_to_unless_current "Notes", notes_path %></li>
<li><%= link_to_unless_current "Tags", tags_path %></li>
<li><%= link_to_unless_current "+ Add new", new_note_path %></li>
<li><%= link_to_unless_current "Home", root_url %></li>
</ul>
</div>

Expand Down
2 changes: 1 addition & 1 deletion app/views/notes/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
<% @notes.rows.each do |note| %>
<h2><%= link_to note.title, note_path(note) %></h2>
<p><%= note.description %></p>
<p><em>Tags:</em> <%= note.tags.join(", ") %></p>
<small><em>Tags:</em> <%= note.tags.join(", ") %></small>
<p><%= link_to "Edit", edit_note_path(note) %></p>
<% end %>
2 changes: 1 addition & 1 deletion app/views/notes/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

<p><%= @note.description %></p>

<p><em>Tags:</em> <%= @note.tags.join(", ") %></p>
<small><em>Tags:</em> <%= @note.tags.join(", ") %></small>

<p><%= link_to "Edit", edit_note_path(@note) %></p>
2 changes: 1 addition & 1 deletion app/views/tags/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<h1>Notes for '<%= @tag %>'</h1>
<h1>Notes tagged '<%= @tag %>'</h1>

<% @notes.rows.each do |note| %>
<p><%= link_to note.title, note_path(note) %> <small><%= note.tags.join(", ") %></small></p>
Expand Down

0 comments on commit 743d2a7

Please sign in to comment.