Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
redmine
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
301
Issues
301
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
coops
redmine
Commits
af6959a1
Commit
af6959a1
authored
Feb 08, 2023
by
Félicie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
text field hidden
parent
4185c2d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
_create_time_entry.html.erb
plugins/scrum/app/views/scrum/_create_time_entry.html.erb
+10
-0
No files found.
plugins/scrum/app/views/scrum/_create_time_entry.html.erb
View file @
af6959a1
...
@@ -14,11 +14,21 @@
...
@@ -14,11 +14,21 @@
<%=
f
.
text_field
:hours
,
:size
=>
15
,
:required
=>
true
%>
<%=
f
.
text_field
:hours
,
:size
=>
15
,
:required
=>
true
%>
</p>
</p>
<%
if
User
.
current
.
allowed_to?
(
:edit_date_entries
,
@project
)
%>
<p>
<p>
<label>
<%=
l
(
:field_spent_on
)
%>
:
</label>
<label>
<%=
l
(
:field_spent_on
)
%>
:
</label>
<%=
f
.
text_field
:spent_on
,
:size
=>
10
,
:value
=>
Date
.
today
,
:required
=>
true
%>
<%=
f
.
text_field
:spent_on
,
:size
=>
10
,
:value
=>
Date
.
today
,
:required
=>
true
%>
</p>
</p>
<%
else
%>
<p
style=
"display: none;"
>
<%=
f
.
text_field
:spent_on
,
:value
=>
Date
.
today
%>
</p>
<%
end
%>
<p>
<p>
<label>
<%=
l
(
:field_comments
)
%>
:
</label>
<label>
<%=
l
(
:field_comments
)
%>
:
</label>
<%=
f
.
text_field
:comments
,
:size
=>
15
,
:maxlength
=>
255
%>
<%=
f
.
text_field
:comments
,
:size
=>
15
,
:maxlength
=>
255
%>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment