[Issues 708 & 710] Refactor forms to use reusable Jinja partials #779
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Summary
This PR implements reusable Jinja form partials to eliminate code duplication between the application form and job posting form, addressing issues #708 and #710.
Issues Addressed
Changes Made
New Files Created:
templates/_form_macros.html- Reusable Jinja macros for form componentsstatic/css/forms.css- Shared form stylesFiles Modified:
templates/app-form.html- Refactored to use new form macrostemplates/job-form.html- Refactored to use new form macros with payment integrationMacros Implemented:
form_wrapper()- Overall form structure with optional payment integrationfieldset()- Fieldset grouping with optional legendinput_field()- Text input fields with required/optional labelingtextarea_field()- Textarea fields with configurable rowsradio_group()- Radio button groups with flexible data structure supportcheckbox_field()- Individual checkbox fieldsconduct_checkbox()- Reusable code of conduct agreement checkboxKey Features:
include_paymentparameterTesting
Scope
As specified in the original issues: