# Revision history [back]

### Adding a drop down tab on Dashboard

Openstack newbie here. I want to add a new drop down tab in the "Create Network" box that pops up on clicking "+Create Network" in the Networks panel of Admin. I don't have a good experience in Django framework.
I have located the file forms.py that has a class CreateNetwork in the path:

class CreateNetwork(forms.SelfHandlingForm):
name = forms.CharField(max_length=255,
label=_("Name"),
required=False)
tenant_id = forms.ChoiceField(label=_("Project"))
if api.neutron.is_port_profiles_supported():
net_profile_id = forms.ChoiceField(label=_("Network Profile"))
initial=True, required=False)
shared = forms.BooleanField(label=_("Shared"),
initial=False, required=False)
external = forms.BooleanField(label=_("External Network"),
initial=False, required=False)

## The new field
new_field = forms.ChoiceField(choices=[(1, 'Freemium'), (2, 'Basic'), (3, 'Premium')],
label=_("New Field"))
##


I added another variable just to see if it is visible in the GUI but it fails. I also tried changing the label names of the fields that was visible, example changing External Network to Network External, to verify if I am in the right file, but the changes were not reflected on the Dashboard.

Can anyone suggest me ways to make changes on the fly such that I can test it's visibility on the dashboard by a normal refresh? Thanks

### Adding a drop down tab on Dashboard

Openstack newbie here. I want to add a new drop down tab in the "Create Network" box that pops up on clicking "+Create Network" in the Networks panel of Admin. I don't have a good experience in Django framework.
I have located the file forms.py that has a class CreateNetwork in the path:

class CreateNetwork(forms.SelfHandlingForm):
name = forms.CharField(max_length=255,
label=_("Name"),
required=False)
tenant_id = forms.ChoiceField(label=_("Project"))
if api.neutron.is_port_profiles_supported():
net_profile_id = forms.ChoiceField(label=_("Network Profile"))
initial=True, required=False)
shared = forms.BooleanField(label=_("Shared"),
initial=False, required=False)
external = forms.BooleanField(label=_("External Network"),
initial=False, required=False)

## The new field
new_field = forms.ChoiceField(choices=[(1, 'Freemium'), (2, 'Basic'), (3, 'Premium')],
label=_("New Field"))
##


I added another variable just to see if it is visible in the GUI but it fails. I also tried changing the label names of the fields that was visible, example changing External Network to Network External, to verify if I am in the right file, but the changes were not reflected on the Dashboard.

Can anyone suggest me ways to make changes on the fly such that I can test it's visibility on the dashboard by a normal refresh? Thanks