diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/views/attachments/_form.rhtml | 4 | ||||
-rw-r--r-- | app/views/issues/_form.rhtml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/attachments/_form.rhtml b/app/views/attachments/_form.rhtml index c98528b85..7702f92e2 100644 --- a/app/views/attachments/_form.rhtml +++ b/app/views/attachments/_form.rhtml @@ -1,7 +1,7 @@ <span id="attachments_fields"> <%= file_field_tag 'attachments[1][file]', :size => 30, :id => nil -%> -<%= text_field_tag 'attachments[1][description]', '', :size => 60, :id => nil %> -<em><%= l(:label_optional_description) %></em> +<label class="inline"><span id="attachment_description_label_content"><%= l(:label_optional_description) %></span><%= text_field_tag 'attachments[1][description]', '', :size => 60, :id => nil %> +</label> </span> <br /> <small><%= link_to l(:label_add_another_file), '#', :onclick => 'addFileField(); return false;' %> diff --git a/app/views/issues/_form.rhtml b/app/views/issues/_form.rhtml index 72fd6221d..1e3beaf85 100644 --- a/app/views/issues/_form.rhtml +++ b/app/views/issues/_form.rhtml @@ -27,7 +27,7 @@ </div> <% if @issue.new_record? %> -<p><label><%=l(:label_attachment_plural)%></label><%= render :partial => 'attachments/form' %></p> +<p><%= label_tag('attachments[1][file]', l(:label_attachment_plural))%><%= render :partial => 'attachments/form' %></p> <% end %> <% if @issue.new_record? && User.current.allowed_to?(:add_issue_watchers, @project) -%> |