feat: set alts_enabled for model
This commit is contained in:
@@ -19,12 +19,14 @@ type = string
|
||||
label = Grouping Attribute
|
||||
width = 1/3
|
||||
type = string
|
||||
alts_enabled = false
|
||||
|
||||
[fields.sort_key]
|
||||
label = Sort order
|
||||
width = 1/5
|
||||
default = 0
|
||||
type = sort_key
|
||||
alts_enabled = false
|
||||
|
||||
[fields.null_fallback]
|
||||
label = Null Fallback
|
||||
@@ -36,6 +38,7 @@ default = ???
|
||||
label = Reverse Sort
|
||||
width = 1/5
|
||||
type = boolean
|
||||
alts_enabled = false
|
||||
|
||||
[fields.xdata]
|
||||
label = Extended Data
|
||||
|
||||
@@ -16,6 +16,7 @@ size = large
|
||||
label = Date / Datum
|
||||
width = 1/3
|
||||
type = date
|
||||
alts_enabled = false
|
||||
size = large
|
||||
|
||||
[fields.time]
|
||||
@@ -23,6 +24,7 @@ label = Time / Zeit
|
||||
width = 1/8
|
||||
type = integer
|
||||
addon_label = min
|
||||
alts_enabled = false
|
||||
|
||||
[fields.difficulty]
|
||||
label = Difficulty
|
||||
@@ -30,6 +32,7 @@ width = 1/8
|
||||
type = select
|
||||
choices = easy, medium, hard
|
||||
choice_labels = Easy, Medium, Hard
|
||||
alts_enabled = false
|
||||
|
||||
[fields.rating]
|
||||
label = Rating
|
||||
@@ -37,6 +40,7 @@ width = 1/8
|
||||
type = select
|
||||
choices = 1, 2, 3
|
||||
choice_labels = ★☆☆, ★★☆, ★★★
|
||||
alts_enabled = false
|
||||
|
||||
[fields.yield]
|
||||
label = Yield / Menge
|
||||
@@ -54,6 +58,7 @@ label = Tags / Kategorie
|
||||
width = 1/3
|
||||
type = checkboxes
|
||||
source = site.query('/tags', alt)
|
||||
alts_enabled = false
|
||||
|
||||
[fields.directions]
|
||||
label = Directions / Zubereitung
|
||||
|
||||
@@ -13,16 +13,18 @@ enabled = no
|
||||
[fields.measures]
|
||||
label = Measures
|
||||
description = Space separated list
|
||||
width = 3/5
|
||||
type = text
|
||||
default = kg g L dl cl ml oz lb pt qt cm tsp tbsp c cup cups pkg pck
|
||||
|
||||
[fields.replace_frac]
|
||||
label = Replace 1/2 with ½, ⅔, et.c
|
||||
width = 1/5
|
||||
type = boolean
|
||||
alts_enabled = true
|
||||
|
||||
[fields.replace_temp]
|
||||
label = Replace °C/°F with ℃/℉
|
||||
width = 1/5
|
||||
type = boolean
|
||||
alts_enabled = false
|
||||
|
||||
[fields.replace_frac]
|
||||
label = Replace 1/2 with ½, ⅔, etc.
|
||||
width = 1/5
|
||||
type = boolean
|
||||
alts_enabled = false
|
||||
|
||||
Reference in New Issue
Block a user