localize views

This commit is contained in:
Joshua Arts
2018-07-17 11:57:49 -04:00
parent 55b83226c9
commit ce4c8b3bff
27 changed files with 249 additions and 150 deletions

View File

@ -4,11 +4,11 @@
<%= f.text_field :join_name,
required: true,
class: "form-control join-form",
placeholder: "Enter your name!",
placeholder: t("enter_your_name"),
value: "#{current_user ? current_user.name : ''}",
readonly: !current_user.nil? %>
<span class="input-group-append">
<%= f.submit "Join", class: "btn btn-primary px-7 join-form" %>
<%= f.submit t("room.join"), class: "btn btn-primary px-7 join-form" %>
</span>
</div>
<% end %>