Sam Pohlenz

Results 132 comments of Sam Pohlenz

One strategy I have used for re-usable functionality (which is a similar use case) is to define a module with a `.extended` method. Something like: ```ruby module ArticlesAdmin::Form def self.extended(builder)...

I definitely want to implement some nicer support for pluggable/extendable functionality like this. For now though, the best way to do this would be something like this: ```ruby BaseResource =...

Assuming you are not trying to do this `@import` in your own CSS code (which did work in previous versions), then check that you have updated trestle-auth to the latest...

@Bryan1029 Please try updating trestle-search to 0.4.2. Assuming you are on Trestle 0.9.3 then that should hopefully fix that issue.

I don't think I'd seen Cocoon before, but it looks like it takes a very similar approach to what I would want in this feature. I'll definitely look into this...

Hi @dendomenko. Sorry to miss this one. Make sure that you have added `accepts_nested_attributes_for :user` to the parent model class.

I wanted to post a quick progress screenshot of this feature. There's a few changes still required to get this properly working but progress is definitely coming along. This is...

@risen Not presently as it it's still mostly just a mockup/prototype implementation.

@beneti Here's the basic code I used in my example posted above (view code is in Haml): `app/admin/projects_admin.rb`: ```ruby Trestle.resource(:projects) do form do |project| text_field :name text_area :description render "tasks"...

@Tao-Galasse In the current version of Trestle (which uses Bootstrap 4.x), replace all instances `panel` in class names with `card`, so `panel` becomes `card`, `panel-body` becomes `card-body` and `panel-default` becomes...