aunque tengan etiquetas los campos son requeridos
This commit is contained in:
parent
8ac8af0c5c
commit
327314e247
1 changed files with 4 additions and 2 deletions
|
@ -248,13 +248,15 @@ class Post
|
||||||
|
|
||||||
def human
|
def human
|
||||||
h = key.humanize
|
h = key.humanize
|
||||||
h += ' *' if required?
|
|
||||||
|
|
||||||
h
|
h
|
||||||
end
|
end
|
||||||
|
|
||||||
def label
|
def label
|
||||||
(complex? && contents.dig('label')) || human
|
h = (complex? && contents.dig('label')) || human
|
||||||
|
h += ' *' if required?
|
||||||
|
|
||||||
|
h
|
||||||
end
|
end
|
||||||
|
|
||||||
def help
|
def help
|
||||||
|
|
Loading…
Reference in a new issue