OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/lib/open_project/backlogs/issue_form/notes_paragraph.rb

15 lines
461 B

class OpenProject::Backlogs::IssueForm::NotesParagraph < OpenProject::Nissue::IssueView::DescriptionParagraph
def visible?
true
end
def render(t)
html_id = "issue_notes_#{SecureRandom.hex(10)}"
s = content_tag(:fieldset, [
content_tag(:legend, l(:field_notes)),
t.text_area_tag('issue[notes]', '', :cols => 60, :rows => 10, :class => 'wiki-edit', :id => html_id),
12 years ago
t.wikitoolbar_for(html_id) ].join.html_safe
)
end
end