Skip to content

Comments

Make the news and comment title field length consistent with the model#406

Merged
Oumph merged 1 commit intomasterfrom
title-length
Jan 14, 2026
Merged

Make the news and comment title field length consistent with the model#406
Oumph merged 1 commit intomasterfrom
title-length

Conversation

@Oumph
Copy link
Member

@Oumph Oumph commented Jan 14, 2026

models/news.rb:#  title        :string(160)      not null
models/news.rb:                           length: { maximum: 160, message: "Le titre est trop long" }
views/news/_form.html.haml:  = form.text_field :title, autocomplete: 'off', required: 'required', spellcheck: 'true', maxlength: 160
views/redaction/news/reorganize.html.haml:      = form.text_field :title, autocomplete: 'off', required: 'required', spellcheck: 'true', maxlength: 160
views/redaction/news/_form.html.haml:  = form.text_field :title, autocomplete: 'off', required: 'required', spellcheck: 'true', maxlength: 160
views/comments/_form.html.haml:  = form.text_field :title, autocomplete: 'off', required: 'required', spellcheck: 'true', maxlength: 160
models/comment.rb:#  title             :string(160)      not null
models/comment.rb:                        length: { maximum: 160, message: "Le titre est trop long" }

@Oumph Oumph merged commit 72d57fb into master Jan 14, 2026
@Oumph Oumph deleted the title-length branch January 14, 2026 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant