Skip to content

Commit

Permalink
make message field required
Browse files Browse the repository at this point in the history
  • Loading branch information
oma-s committed Apr 5, 2024
1 parent a946e73 commit 4a15935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/daily_nerd_messages/_form.html.slim
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
= form_with model: @daily_nerd_message, class: :stack, builder: AwesomeForm do |f|
= f.input :message, as: :text, placeholder: t(".message_placeholder")
= f.input :message, as: :text, placeholder: t(".message_placeholder"), required: true
span = f.submit class: :button

0 comments on commit 4a15935

Please sign in to comment.