Use built-in translation lookups for form helps

This commit is contained in:
Andy Allan 2021-05-19 16:21:17 +01:00
parent 39ca64c814
commit b18c1bff8b
2 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
<%= f.text_field :name %>
<%= f.text_area :redirect_uri, :help => t(".redirect_uri_help") %>
<%= f.form_group :confidential, :help => t(".confidential_help") do %>
<%= f.text_area :redirect_uri %>
<%= f.form_group :confidential do %>
<%= f.check_box :confidential %>
<% end %>
<%= f.collection_check_boxes :scopes, Oauth.scopes, :name, :description %>