Search
Project
General
Profile
Home
Projects
Help
Sign in
Register
Search
:
Redmine
All Projects
Redmine
Overview
Download
Activity
Roadmap
Issues
News
Wiki
Plugins
Forums
Repository
Download (589 Bytes)
Feature #1070
» _note_form.rhtml
additional partial form for editing notes -
Carl Nygard
, 2008-04-16 20:20
<%=
error_messages_for
'issue'
%>
<div
class=
"box"
>
<h3>
<%
if
f
.
object
.
new_record?
%>
<%=
l
(
:label_note_add
)
%>
<%
else
%>
<%=
l
(
:label_note_edit
)
%>
<%
end
%>
</h3>
<p>
<%=
f
.
text_area
:notes
,
:required
=>
true
,
:cols
=>
60
,
:rows
=>
(
f
.
object
.
notes
.
blank?
?
10
:
[[
10
,
f
.
object
.
notes
.
length
/
50
].
max
,
100
].
min
),
:accesskey
=>
accesskey
(
:edit
),
:class
=>
'wiki-edit'
%>
</p>
<%=
wikitoolbar_for
'journal_notes'
%>
<%
if
f
.
object
.
new_record?
%>
<%=
render
:partial
=>
'attachments/form'
%>
<%
end
%>
</div>
« Previous
1
2
Next »
(2-2/2)
Loading...