function pathSpecificForm(path) {
  // Dependent on path
  switch (path) {
    // If register
    case "register":
      return accountForms.register;
    // If login
    case "login":
      return accountForms.login;
    // If site
    case "site":
      return accountForms.site;
    // If equipment
    case "equipment":
      return accountForms.equipment;
    // If maintenance event
    case "maintenance_event":
      return accountForms.maintenance_event;
    // If default
    default:
      break;
  }
}
// Function that uses that path variable to determine the type of form to display to the user
Function that uses that path variable to determine the type of form to display to the user
Function that uses that path variable to determine the type of form to display to the user
function pathSpecificForm(path) {
  switch (path) {
    case "register":
      return accountForms.register;
    case "login":
      return accountForms.login;
    case "site":
      return accountForms.site;
    case "equipment":
      return accountForms.equipment;
    case "maintenance_event":
      return accountForms.maintenance_event;
    default:
      break;
  }
}
function pathSpecificForm ( path ) { switch ( path ) { case "register" : return accountForms . register ; case "login" : return accountForms . login ; case "site" : return accountForms . site ; case "equipment" : return accountForms . equipment ; case "maintenance_event" : return accountForms . maintenance_event ; default : break ; } }
Function that uses that path variable to determine the type of form to display to the user
Function that uses that path variable to determine the type of form to display to the user
// Dependent on path // If register // If login // If site // If equipment // If maintenance event // If default