Krzysztof Wincel
Krzysztof Wincel
I believe you can have as many admin pages to the same resource as pleased. Used collection keyword to scope the model, like:4 ```ruby #first_admin_page.rb collection do model.where(flag: true) end...
I know it is "a bit" to late, but I leave this for future references: You can modify your yml file with translations (i.e. en.yml) and add something like this:...
Ok, I did one more test... It looks like this is a browser thing. Please see screenshot. To the left is Chrome, to the right is Safari. As you can...
Yes, this is no doubt a Safari bug. Here is my workaround in case anyone needs it. added: app/fields/enhanced_date_field.rb ```ruby class EnhancedDateField < Trestle::Form::Fields::FormControl include Trestle::Form::Fields::DatePicker def field if builder.object&.send(name).nil?...
When I added loading of this js to trestle.rb hook, I got: > I get this error: "Uncaught TypeError: Failed to resolve module specifier "@hotwired/stimulus". Relative references must start with...
> I'd definitely recommend using trestle-auth with the Devise integration, though in your situation you may want to disable Trestle's login/logout routes and use Devise's, by setting config.auth.enable_login / config.auth.enable_logout...
> Ditto for me. Cursor with WSL was working until I installed Windows update I just checked and I haven't installed this update(KB5043145) on my system yet. The Cursor was...