django-powerdns-manager / src / powerdns_manager / forms.py

Diff from to

src/powerdns_manager/forms.py

 class ClonedZoneDomainForm(forms.Form):
     """This form is used in intermediate page that sets the name of the cloned zone."""
     clone_domain_name = forms.CharField(max_length=255, required=True, label=_('Domain Name'), help_text="""Enter the domain name of the clone.""")
+    option_clone_dynamic = forms.BooleanField(required=False, initial=True, label=_('Clone dynamic setting'), help_text="""If checked and the original zone is marked as dynamic, then the clone will also be marked as dynamic and a new API key will be generated.""")
+    option_clone_metadata = forms.BooleanField(required=False, initial=True, label=_('Clone zone metadata'), help_text="""If checked, the metadata associated with the original zone will be cloned too.""")
     
     def clean_clone_domain_name(self):
         clone_domain_name = self.cleaned_data.get('clone_domain_name')
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.