Revision 8dbb38ec
Added by Ohad Levy almost 12 years ago
- ID 8dbb38ece6dbabcedaf1db9a78c2d9c23104f0ca
app/helpers/operatingsystems_helper.rb | ||
---|---|---|
"#{icon(record, opts)} #{record}".html_safe
|
||
end
|
||
|
||
def os_habtm_family type, obj
|
||
result = type.where(:os_family => obj.family)
|
||
result.empty? ? type : result
|
||
end
|
||
|
||
end
|
Also available in: Unified diff
Added OS Family attribute to Partition Tables and Installation Medium