Displaying 1 result from an estimated 1 matches for "usage_buttons".
2010 Sep 03
1
[PATCH] Adding some control over usages in the network creation/edition form
...network_usages_ids" name="network[usage_ids][]" multiple="true">
<%= options_from_collection_for_select @usage_types, "id", "label",
@network ? @network.usages.collect{ |x| x.id.to_i } : [] %>
</select>
+ <div class="usage_buttons">
+ <p>
+ <%= text_field_tag 'network_usage_label', nil, :class => 'textfield_effect' %>
+ <button id="add_usage">Add usage</button>
+ </p>
+ <p>
+ <button id="delete_usages">Remove selected usages&...