templates/scope_field.str in rodauth-oauth-0.9.1 vs templates/scope_field.str in rodauth-oauth-0.9.2
- old
+ new
@@ -1,9 +1,10 @@
<fieldset class="form-group">
+ <legend>#{rodauth.oauth_applications_scopes_label}</legend>
#{
rodauth.oauth_application_scopes.map do |scope|
- "<div class=\"form-check checkbox\">" +
- "<input id=\"#{scope}\" type=\"checkbox\" name=\"#{rodauth.oauth_application_scopes_param}[]\" value=\"#{scope}\">" +
+ "<div class=\"form-group form-check\">" +
+ "<input id=\"#{scope}\" type=\"checkbox\" class=\"form-check-input\" name=\"#{rodauth.oauth_application_scopes_param}[]\" value=\"#{scope}\">" +
"<label for=\"#{scope}\">#{scope}</label>" +
"</div>"
end.join
}
</fieldset>
\ No newline at end of file