mozilla / mozilla/experimenter

Use Django form rendering with custom templates

Open
#16,589 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
151
Forks
229
Avg merge
1d 8h
Merged PRs (30d)
212

Description

We have massive form templates where we are rendering each form component manually. We should use custom widgets that render as bootstrap form controls. Most of our forms should then be able to be rendered without custom form templates.

┆Issue is synchronized with this Jira Task

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inventorying the existing form templates and Django form or widget definitions involved in the massive forms. Trace how components are rendered manually and identify the Bootstrap form controls that custom widgets must cover. Done means the relevant forms render through Django form rendering without bespoke templates while retaining Bootstrap styling.

Written by the indexing model from the issue text.

Assessment

Tech stack
bootstrap, django, python
Domain
frontend, web-dev
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.