Skip to content

Commit

Permalink
Added headers for the note views.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Apr 21, 2009
1 parent cd114e6 commit da474f8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions views/notes_edit.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<script type="text/javascript" src="/scripts/textile.js"></script>

<h2>Edit Note:</h2>
<form action="/notes/update" method="post">
<input type="hidden" name="id" value="<%= @note.id %>" />

Expand Down
1 change: 1 addition & 0 deletions views/notes_new.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<script type="text/javascript" src="/scripts/textile.js"></script>

<h2>New Note</h2>
<form action="/notes/create" method="post">
<label>Title:</label>
<input type="text" name="note[title]" />
Expand Down
3 changes: 1 addition & 2 deletions views/notes_show.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<div id="note">
<p>Title: <%= @note.title %></p>
<h2><%= escape_html @note.title %></h2>

<p>Summary:</p>
<div id="note_summary">
<%= @note.html_summary %>
</div>
Expand Down

0 comments on commit da474f8

Please sign in to comment.