[bbb-greenlight: 4/12] Added limit for join name (#2220)
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bbb-greenlight: 4/12] Added limit for join name (#2220)
- Date: Wed, 28 Oct 2020 07:03:38 +0000 (UTC)
commit 0801c626c5cd59e4f77424ae6ddefe7175c66784
Author: Ahmad Farhat <ahmad af farhat gmail com>
Date: Thu Oct 22 15:47:54 2020 -0400
Added limit for join name (#2220)
app/views/rooms/join.html.erb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/app/views/rooms/join.html.erb b/app/views/rooms/join.html.erb
index f0f247c..cac7a02 100644
--- a/app/views/rooms/join.html.erb
+++ b/app/views/rooms/join.html.erb
@@ -43,7 +43,8 @@
placeholder: t("enter_your_name"),
value: "#{@name}",
readonly: !current_user.nil?,
- autofocus: true
+ autofocus: true,
+ maxlength: 26
%>
<span class="input-group-append">
<button id="room-join" type="submit" class="btn btn-primary btn-sm px-7 form-control join-form">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]