Sha256: 70599d57c0415a46afc3759a0c6b20557c31da2b74643114ae20bbc210d3aa99

Contents?: true

Size: 601 Bytes

Versions: 10

Compression:

Stored size: 601 Bytes

Contents

<%= 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>

  <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>
  <p class="text-center">
    <%= submit_tag rodauth.oauth_device_search_button, class: "btn btn-outline-primary" %>
  </p>
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rodauth-oauth-0.10.4 lib/generators/rodauth/oauth/templates/app/views/rodauth/device_search.html.erb
rodauth-oauth-0.10.3 lib/generators/rodauth/oauth/templates/app/views/rodauth/device_search.html.erb
rodauth-oauth-0.10.2 lib/generators/rodauth/oauth/templates/app/views/rodauth/device_search.html.erb
rodauth-oauth-0.10.1 lib/generators/rodauth/oauth/templates/app/views/rodauth/device_search.html.erb
rodauth-oauth-0.10.0 lib/generators/rodauth/oauth/templates/app/views/rodauth/device_search.html.erb
rodauth-oauth-0.9.3 lib/generators/rodauth/oauth/templates/app/views/rodauth/device_search.html.erb
rodauth-oauth-0.9.2 lib/generators/rodauth/oauth/templates/app/views/rodauth/device_search.html.erb
rodauth-oauth-0.9.1 lib/generators/rodauth/oauth/templates/app/views/rodauth/device_search.html.erb
rodauth-oauth-0.9.0 lib/generators/rodauth/oauth/templates/app/views/rodauth/device_search.html.erb
rodauth-oauth-0.8.0 lib/generators/rodauth/oauth/templates/app/views/rodauth/device_search.html.erb