Project

General

Profile

Patch #256 » _update.rhtml_1104.diff

Thomas Löber, 2008-02-03 11:02

View differences:

app/views/issues/_update.rhtml (Arbeitskopie)
12 12
    </div>
13 13
    <div class="splitcontentright">
14 14
    <p><%= f.select :done_ratio, ((0..10).to_a.collect {|r| ["#{r*10} %", r*10] }) %></p>
15
    <p><%= f.select :fixed_version_id, (@project.versions.sort.collect {|v| [v.name, v.id]}), { :include_blank => true } %></p>
15
    <%= content_tag('p', f.select(:fixed_version_id,
16
                                  (@project.versions.sort.collect {|v| [v.name, v.id]}),
17
                                  { :include_blank => true })) unless @project.versions.empty? %>
16 18
    </div>
17 19
</fieldset>
18 20
<% end%>
    (1-1/1)