You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently as a user of neapolitan there's no easy way to adjust how the action links are rendered in CRUDView's list view, since the links are rendered to a string within the templatetag.
I got around this by creating my own object_list templatetag that calls a new action_links function that, instead of rendering to a string, returns a dictionary with the relevant info that can then taken by the template and rendered there. This approach allows for greater flexibility for anyone using neapolitan to adjust how the actions are rendered.
Currently as a user of
neapolitan
there's no easy way to adjust how the action links are rendered inCRUDView
's list view, since the links are rendered to a string within the templatetag.I got around this by creating my own
object_list
templatetag that calls a newaction_links
function that, instead of rendering to a string, returns a dictionary with the relevant info that can then taken by the template and rendered there. This approach allows for greater flexibility for anyone usingneapolitan
to adjust how the actions are rendered.Here's the relevant commit to see how this would look.
The text was updated successfully, but these errors were encountered: