horizon/openstack_dashboard/dashboards/project/vpn
Akihiro Motoki c8cd03189a Use BooleanField for admin_state_up form
admin_state_up is a boolean value but the network and port edit forms
expected a string version of True/False. As a result, True/False string
was shown as the default value in these forms. The field is implemented
as ChoiceField, but there is no special reason not to use BooleanField
for a boolean field and admin_state(_up) fields are the only exceptions
in horizon. This commit replaces all admin_state(_up) fields to
use BooleanField.

As far as I checked, this pattern is used only in the networking
related panels and this patch clean them up.

Change-Id: I9286f6c29d67fec7a88b74661bc8eca945fd9061
Closes-Bug: #1672213
2017-04-14 19:40:48 +00:00
..
templates/vpn Use BooleanField for admin_state_up form 2017-04-14 19:40:48 +00:00
__init__.py VPNaaS UI implementation 2013-09-06 14:11:35 -07:00
forms.py Use BooleanField for admin_state_up form 2017-04-14 19:40:48 +00:00
panel.py Move Horizon to pure plugin loading only 2015-08-03 14:49:31 -06:00
tables.py Use 'ID' rather 'id' to match our convention 2017-03-25 15:00:02 +00:00
tabs.py Server-side filtering vpn 2017-01-09 17:22:10 +00:00
tests.py hacking: noqa cleanup in openstack_dashboard 2017-03-17 19:38:47 +00:00
urls.py Update URLs to Django 1.8+ style 2016-03-28 11:03:08 +01:00
views.py Remove duplicated modal_header statements 2017-01-04 13:31:36 +00:00
workflows.py Use BooleanField for admin_state_up form 2017-04-14 19:40:48 +00:00