Sha256: 7b0f3ceb2d94e90f3032f601ac5b47a1b4955400169649d45e59643bce2ba185

Contents?: true

Size: 1.07 KB

Versions: 1

Compression:

Stored size: 1.07 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, :maxlength => 80 %></p>

<% if @task.period.nil? || @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

1 entries across 1 versions & 1 rubygems

Version Path
backlog-0.0.4 app/views/tasks/_form.rhtml