Project

General

Profile

0001-Show-custom-partition-tables-by-default-if-set.patch

Frank Sweetser, 06/07/2010 10:24 PM

View differences:

app/views/hosts/_unattended.html.erb
37 37
      </tr>
38 38
    </table>
39 39
    <%= link_to_function "Switch to custom disk layout", toggle_div("custom_disk") %> <br>
40
    <span id="custom_disk", style=display:none;>
40
    <span id="custom_disk" <% unless not @host.disk.nil? and @host.disk.length > 0 %>, style=display:none<% end %>;>
41 41
      <%= f.text_area :disk, :size => "80x10", :title => 'Use custom Disk layout' %><br>
42 42
      <small>What ever text you use in here, would be used as your OS disk layout options<br>
43 43
        If you want to use the partition table option, delete all of the text from this field
44
-