lib/generators/rodauth/oauth/templates/app/views/rodauth/new_oauth_application.html.erb in rodauth-oauth-0.10.4 vs lib/generators/rodauth/oauth/templates/app/views/rodauth/new_oauth_application.html.erb in rodauth-oauth-1.0.0.pre.beta1

- old
+ new

@@ -35,18 +35,13 @@ <div class="form-group"> <%= label_tag "jwks_uri", rodauth.oauth_applications_jwks_uri_label %> <%= text_field_tag "jwks_uri", rodauth.param('jwks_uri'), id: "jwks-uri", class: "form-control#{' is-invalid' if rodauth.field_error('jwks_uri')}" %> <%= rodauth.field_error('jwks_uri') %> </div> - <div class="form-group"> - <%= label_tag "jwt_public_key", rodauth.oauth_applications_jwt_public_key_label %> - <%= text_field_tag "jwt_public_key", rodauth.param('jwt_public_key'), id: "jwt-public-key", class: "form-control#{' is-invalid' if rodauth.field_error('jwt_public_key')}" %> - <%= rodauth.field_error('jwt_public_key') %> - </div> <% end %> <% rodauth.oauth_application_scopes.each do |scope| %> <div class="form-check"> - <%= check_box_tag "scopes[]", scope, scope == rodauth.oauth_application_default_scope, id: scope, class: "form-check-input" %> + <%= check_box_tag "scopes[]", scope, id: scope, class: "form-check-input" %> <%= scope %> </div> <% end %> <div class="form-group"> <%= submit_tag rodauth.oauth_application_button, class: "btn btn-primary" %> \ No newline at end of file