##// END OF EJS Templates
[#9489] set id for message_subject and linked it to label, added invisible label...
Toshi MARUYAMA -
r7562:e76e7fd6ea2a
parent child
Show More
@@ -3,8 +3,8
3
3
4 <div class="box">
4 <div class="box">
5 <!--[form:message]-->
5 <!--[form:message]-->
6 <p><label><%= l(:field_subject) %></label><br />
6 <p><label for="message_subject"><%= l(:field_subject) %></label><br />
7 <%= f.text_field :subject, :size => 120 %>
7 <%= f.text_field :subject, :size => 120, :id => "message_subject" %>
8
8
9 <% if !replying && User.current.allowed_to?(:edit_messages, @project) %>
9 <% if !replying && User.current.allowed_to?(:edit_messages, @project) %>
10 <label><%= f.check_box :sticky %><%= l(:label_board_sticky) %></label>
10 <label><%= f.check_box :sticky %><%= l(:label_board_sticky) %></label>
@@ -17,7 +17,9
17 <%= f.select :board_id, @project.boards.collect {|b| [b.name, b.id]} %></p>
17 <%= f.select :board_id, @project.boards.collect {|b| [b.name, b.id]} %></p>
18 <% end %>
18 <% end %>
19
19
20 <p><%= f.text_area :content, :cols => 80, :rows => 15, :class => 'wiki-edit', :id => 'message_content' %></p>
20 <p>
21 <%= label_tag "message_content", l(:description_message_content), :class => "hidden-for-sighted" %>
22 <%= f.text_area :content, :cols => 80, :rows => 15, :class => 'wiki-edit', :id => 'message_content' %></p>
21 <%= wikitoolbar_for 'message_content' %>
23 <%= wikitoolbar_for 'message_content' %>
22 <!--[eoform:message]-->
24 <!--[eoform:message]-->
23
25
@@ -1003,6 +1003,7 de:
1003 description_filter: Filter
1003 description_filter: Filter
1004 description_search: Suchfeld
1004 description_search: Suchfeld
1005 description_project_scope: Suchbereich
1005 description_project_scope: Suchbereich
1006 description_message_content: Nachrichteninhalt
1006 description_query_sort_criteria_attribute: Sortierattribut
1007 description_query_sort_criteria_attribute: Sortierattribut
1007 description_query_sort_criteria_direction: Sortierrichtung
1008 description_query_sort_criteria_direction: Sortierrichtung
1008 description_available_columns: Verfügbare Spalten
1009 description_available_columns: Verfügbare Spalten
@@ -981,6 +981,7 en:
981 description_filter: Filter
981 description_filter: Filter
982 description_search: Searchfield
982 description_search: Searchfield
983 description_project_scope: Search scope
983 description_project_scope: Search scope
984 description_message_content: Message content
984 description_query_sort_criteria_attribute: Sort attribute
985 description_query_sort_criteria_attribute: Sort attribute
985 description_query_sort_criteria_direction: Sort direction
986 description_query_sort_criteria_direction: Sort direction
986 description_available_columns: Available Columns
987 description_available_columns: Available Columns
General Comments 0
You need to be logged in to leave comments. Login now