HexMakina / kadro

framework for building web application
0 stars 0 forks source link

Making CRUD views should be easier (edit.html issue) #24

Open HexMakina opened 2 years ago

HexMakina commented 2 years ago

there should be a default file at application level, that handles forms and listings. All the generative tools are ready, but smarty might be in the way.

The goal was always to add a table in the database, or a field in a table, and not do anything to make it work. It kinda works, but it is not intuitive, complete rework is needed

The only reason to create listing.html, edit.html or form.html would be to customize those views. Light customization should be configured in the controllers. one way would be to remove unwanted fields (id, passwords, created_by, created_on, etc..), another would be to explicit the fields we want for listing / forms Both ways should be available