1
0

Changed quantity domain order

This commit is contained in:
cryptogopher 2019-11-15 00:31:41 +01:00
parent 3ce5d5c940
commit b617043dd5
2 changed files with 3 additions and 3 deletions

View File

@ -2,9 +2,9 @@ class Quantity < ActiveRecord::Base
include BodyTracking::Formula
enum domain: {
diet: 0,
measurement: 1,
exercise: 2
exercise: 2,
diet: 0
}
acts_as_nested_set dependent: :destroy, scope: :project

View File

@ -86,9 +86,9 @@ en:
heading_new_quantity: 'New quantity'
form:
domains:
diet: 'diet'
measurement: 'measurement'
exercise: 'exercise'
diet: 'diet'
null_parent: '- none -'
formula_placeholder: 'provide if value of quantity has to be computed in terms of
other quantities'