def editSystem():
    team = request.form.get("team", type=str)
    group = request.form.get("group", type=str)
    verifyAccess("system_group", "write", team)
    return render_template(
        "addSystem.html", team=team, components=vmdb.getComponentNames(), group=vmdb.getGroups(team, group)[0]
    )
def editSystem():
    team = request.form.get('team', type=str)
    group = request.form.get('group', type=str)
    verifyAccess("system_group", "write", team)
    return render_template("addSystem.html",
                           team=team,
                           components=vmdb.getComponentNames(),
                           group=vmdb.getGroups(team, group)[0])
def addSystemView():
    team = request.form.get('team', type=str)
    verifyAccess("system_group", "write", team)
    return render_template("addSystem.html",
                           team=team,
                           components=vmdb.getComponentNames())
def addSystemView():
    team = request.form.get("team", type=str)
    verifyAccess("system_group", "write", team)
    return render_template("addSystem.html", team=team, components=vmdb.getComponentNames())