Guidance from Wilgosz's walkthrough: as you unify a partial for multiple use cases (e.g. a single text_field partial for username/password/terms-of-service), the number of dynamic locals grows (control class names, `has_icons_right`, placeholder, input classes, icon partial). Rather than computing these in the template or passing them explicitly, define a Hanami View scope whose methods derive them from a minimal input (field name, errors, placeholder, label). Keeps templates tiny and the calculation testable.