This should be readonly, as disabled elements don't get sent in the form data:

    "0"=>{"pool_name"=>"default", "capacity"=>"15G", "format_type"=>"raw", "_delete"=>""}

Else perhaps leave the allocation field always enabled, and then switch the button when the text field is edited to the appropriate selection.