[#667] added invisible label

This commit is contained in:
Romano Licker 2011-10-20 17:56:49 +02:00 committed by Holger Just
parent 297294362b
commit 71271e6ff6
3 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,6 @@
<% form_remote_tag(:url => {}, :html => { :id => "journal-#{@journal.id}-form" }) do %>
<%= label_tag "notes", l(:description_notes), :class => "hidden-for-sighted" %>
<%= text_area_tag :notes, @journal.notes, :class => 'wiki-edit',
:rows => (@journal.notes.blank? ? 10 : [[10, @journal.notes.length / 50].max, 100].min) %>
<%= call_hook(:view_journals_notes_form_after_notes, { :journal => @journal}) %>

View File

@ -986,6 +986,7 @@ de:
description_search: Suchfeld
description_choose_project: Projektwahl
description_project_scope: Suchbereich
description_notes: Notizen
description_message_content: Nachrichteninhalt
description_query_sort_criteria_attribute: Sortierattribut
description_query_sort_criteria_direction: Sortierrichtung

View File

@ -968,6 +968,7 @@ en:
description_search: Searchfield
description_choose_project: Choose Project
description_project_scope: Search scope
description_notes: Notes
description_message_content: Message content
description_query_sort_criteria_attribute: Sort attribute
description_query_sort_criteria_direction: Sort direction