CodeForPhilly / CodeForPhilly/stately

Case data view should render fields in form template order

Offen
#25 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
22
Forks
5
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

The "data" view should render the case's data in the same field order as the form template. It should also use the same `name`s, instead of the underscore-separated ones. This should be a matter of combining all the actions' templates in order and passing them to the `CaseData` view.

Alternatively, we could just have a `template` property on the case object in the workflow definition. That would probably be ideal, but maybe it's optional, and it should fall back to the same order of the form templates.

Either way, this is definitely not for MVP.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.