blob: 380ae5716b6fdc775ce66b2c30191a6e8d252116 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<% title "Image upload for #{@compute.name}" %>
<% title_actions button_group(link_to_if_authorized _('Upload Imge'), hash_for_new_compute_resource_image_upload_path(params[:compute_resource_id]), :class => 'btn btn-default') %>
<table class="table table-bordered table-striped table-condensed" data-table='inline'>
<thead>
<th>Pool</th>
<th>Capacity</th>
</thead>
<tbody>
<% @compute.storage_pools.each do |pool| %>
<tr>
<td><%= pool.name %></td>
<td><%= pool.capacity %></td>
</tr>
<% end -%>
</tbody>
</table>
|