GRN2-xx: Fixed issue with recording row and added small fix to roles migration (Fixed #717, #718) (#719)

* Fixed issue with recording row and added small fix to roles migration

* Fixed issue with edit user avatar

* Small bug fixes for user settings

* Added autofocus on name field when joining

* Added extra check for admin password check

* Rubocop fixes
This commit is contained in:
farhatahmad
2019-08-01 16:53:26 -04:00
committed by Jesus Federico
parent 4fc1714db8
commit 60f5cd5c81
7 changed files with 99 additions and 92 deletions

View File

@ -24,7 +24,8 @@
required: true,
class: "form-control join-form",
placeholder: t("room.enter_the_access_code"),
value: "" %>
value: "" ,
autofocus: true %>
<%= f.submit t("room.login"), class: "btn btn-primary btn-sm col-sm-3 form-control join-form" %>
</div>
<% end %>
@ -39,7 +40,9 @@
class: "form-control join-form",
placeholder: t("enter_your_name"),
value: "#{@name}",
readonly: !current_user.nil? %>
readonly: !current_user.nil?,
autofocus: true
%>
<%= f.submit (!@is_running && @anyone_can_start)? t("room.start") : t("room.join"), class: "btn btn-primary btn-sm col-sm-3 form-control join-form" %>
</div>
<% end %>