lib/generators/rodauth/oauth/templates/app/views/rodauth/device_search.html.erb in rodauth-oauth-0.10.4 vs lib/generators/rodauth/oauth/templates/app/views/rodauth/device_search.html.erb in rodauth-oauth-1.0.0.pre.beta1
- old
+ new
@@ -1,6 +1,6 @@
<%= form_tag rodauth.device_path, method: :get, class: "form-horizontal", id: "device-search-form" do %>
- <p class="lead">Insert the user code from the device you'd like to authorize.</p>
+ <p class="lead"><%= rodauth.oauth_device_search_page_lead %></p>
<div class="form-group">
<%= label_tag "user_code", rodauth.oauth_grant_user_code_label %>
<%= text_field_tag "user_code", rodauth.param_or_nil(rodauth.oauth_grant_user_code_param), class: "form-control#{' is-invalid' if rodauth.field_error('user_code')}" %>
</div>
\ No newline at end of file