From a176822a8c37e7ca66c2f8fda26546ed144bf556 Mon Sep 17 00:00:00 2001
From: Alex Krassikov
Date: Mon, 24 Oct 2011 14:45:31 -0700
Subject: [PATCH] Closes #431. Used the 'raw' function to force notes text box
to show up after an invalid edit attempt.
---
app/views/notes/edit.html.erb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app/views/notes/edit.html.erb b/app/views/notes/edit.html.erb
index 7904c3d192..0d77a7975a 100644
--- a/app/views/notes/edit.html.erb
+++ b/app/views/notes/edit.html.erb
@@ -16,8 +16,8 @@
<%=I18n.t('notes.creation_time')%>: <%= @note.format_date %>
- <%= f.label :notes_message, I18n.t('notes.note')+":" %>
- <%= f.text_area :notes_message, :rows => 8, :cols => 50 %>
+ <%= raw(f.label :notes_message, I18n.t('notes.note')+":") %>
+ <%= raw(f.text_area :notes_message, :rows => 8, :cols => 50) %>
<%= f.submit I18n.t('save') %>