#set ($obj = $properties)
#if ($form_action=="edit")
#set ($r=$obj.load($params.key))
#end
#set ($obj.name=$params.name)
#set ($obj.value = $!params.value)
#if($params.profile)
#set($obj.category = "profile")
#set($r = $profiles.load($params.profile))
#set($obj.profile = $profiles)
#else
#set ($obj.category = "computer")
#set ($obj.computer = $params.computer)
#end
$obj.save()
#return_to_index($module)
