Raytha is a powerful CMS with an easy-to-use interface and fast performance. It offers custom content types, a template engine, and various access controls. It supports multiple storage providers and an automatically generated REST API. Upgrade your development workflow with Raytha.
MIT License
144
stars
30
forks
source link
Content Items > Create/Edit views can be refactored #78
Anytime there is a lot of if / else-if with hard-coded values feels like a code smell.
We should evaluate how we can simplify the Create / Edit html. It's an important piece of code, especially if we plan to add more Field Types later on.
This code: https://github.com/RaythaHQ/raytha/blob/main/src/Raytha.Web/Areas/Admin/Views/ContentItems/Create.cshtml
Anytime there is a lot of if / else-if with hard-coded values feels like a code smell.
We should evaluate how we can simplify the Create / Edit html. It's an important piece of code, especially if we plan to add more Field Types later on.