Changed quantity domain order
This commit is contained in:
parent
3ce5d5c940
commit
b617043dd5
@ -2,9 +2,9 @@ class Quantity < ActiveRecord::Base
|
|||||||
include BodyTracking::Formula
|
include BodyTracking::Formula
|
||||||
|
|
||||||
enum domain: {
|
enum domain: {
|
||||||
diet: 0,
|
|
||||||
measurement: 1,
|
measurement: 1,
|
||||||
exercise: 2
|
exercise: 2,
|
||||||
|
diet: 0
|
||||||
}
|
}
|
||||||
|
|
||||||
acts_as_nested_set dependent: :destroy, scope: :project
|
acts_as_nested_set dependent: :destroy, scope: :project
|
||||||
|
@ -86,9 +86,9 @@ en:
|
|||||||
heading_new_quantity: 'New quantity'
|
heading_new_quantity: 'New quantity'
|
||||||
form:
|
form:
|
||||||
domains:
|
domains:
|
||||||
diet: 'diet'
|
|
||||||
measurement: 'measurement'
|
measurement: 'measurement'
|
||||||
exercise: 'exercise'
|
exercise: 'exercise'
|
||||||
|
diet: 'diet'
|
||||||
null_parent: '- none -'
|
null_parent: '- none -'
|
||||||
formula_placeholder: 'provide if value of quantity has to be computed in terms of
|
formula_placeholder: 'provide if value of quantity has to be computed in terms of
|
||||||
other quantities'
|
other quantities'
|
||||||
|
Reference in New Issue
Block a user