Skip to content

Commit

Permalink
change example class
Browse files Browse the repository at this point in the history
  • Loading branch information
bdurand committed Sep 18, 2024
1 parent 9556f7a commit 27c5c1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ If you prefer to embed the settings view directly into your own admin tools or d
```erb
<h1>Configuration</h1>
<%= UltraSettings::ApplicationView.new.render(select_class: "form-control", table_class: "table table-striped") %>
<%= UltraSettings::ApplicationView.new.render(select_class: "form-select", table_class: "table table-striped") %>
```

This approach allows for seamless integration of the settings UI into your application's admin interface, leveraging your existing authentication and authorization mechanisms. The settings are rendered in an HTML table with navigation handled by an HTML select element. You can specify the CSS classes for these elements and use your own stylesheets to customize the appearance.
Expand Down

0 comments on commit 27c5c1d

Please sign in to comment.