mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-22 07:52:43 +00:00
Increase tag allowed size
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
a282275026
commit
b13d4d253e
1 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ defmodule Mobilizon.Events.Tag do
|
|||
|> TitleSlug.maybe_generate_slug()
|
||||
|> validate_required(@required_attrs)
|
||||
|> TitleSlug.unique_constraint()
|
||||
|> validate_length(:title, min: 2, max: 20)
|
||||
|> validate_length(:slug, min: 2, max: 20)
|
||||
|> validate_length(:title, min: 2, max: 40)
|
||||
|> validate_length(:slug, min: 2, max: 40)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue