Sha256: 955d720f063152b24e167df7b4dedc1b3aac4fe122f5dade367bce0da46ba6e5

Contents?: true

Size: 1.03 KB

Versions: 3

Compression:

Stored size: 1.03 KB

Contents

<%= error_messages_for 'task' %>

<!--[form:task]-->
<% if @task.period %>
<p><label for="task_period_id"><%=l :period%></label>:
<%= hidden_field 'task', 'period_id' %><%=h @task.period.backlog.name%>#<%=@task.period.position%></p>
<% else %>
<p><label for="task_period_id"><%=l :backlog%></label><br/>
<%= select 'task', 'period_id', @backlogs.map{|backlog| [backlog.name, backlog.periods.last ? backlog.periods.last.id : "B#{backlog.id}"]} %></p>
<% end %>
<p><label for="task_description"><%=l :task%></label><br/>
<%= text_field 'task', 'description', :size => 64  %></p>

<% if @task.period.backlog.enable_customer %>
<p><label for="task_customer"><%=l :customer%></label><br/>
<%= text_field 'task', 'customer', :size => 64  %></p>
<% end %>

<% if @task.period.nil? || @task.period.backlog.track_todo %>
<p><label for="task_initial_estimate"><%=l :estimate%></label><br/>
<%= text_field 'task', 'initial_estimate', :size => 4  %></p>
<% end %>

<!--[eoform:task]-->


<script type="text/JavaScript">
document.forms[0].elements[1].focus();
</script>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
backlog-0.0.0 app/views/tasks/_form.rhtml
backlog-0.0.1 app/views/tasks/_form.rhtml
backlog-0.0.2 app/views/tasks/_form.rhtml