Skip to content
Snippets Groups Projects
Commit 40fddb08 authored by Todd Dembrey's avatar Todd Dembrey
Browse files

Tidy up code and remove dead code

parent 94d16e30
No related branches found
No related tags found
No related merge requests found
(function ($) {
// On document ready, instantiate the plugin.
$(document).ready(function formReady() {
// Initialize jquery.validate (optional).
// $('#address-example').validate({});
// Initialize jquery.addressfield.
$('.form div.address').addressfield({
json: '/static/addressfield.min.json',
fields: {
......
......@@ -42,7 +42,6 @@ class NestedMultiWidget(KeepOwnAttrsWidget, forms.MultiWidget):
}
class LocalityWidget(NestedMultiWidget):
components = {
'localityname': KeepAttrsTextInput,
......@@ -51,7 +50,6 @@ class LocalityWidget(NestedMultiWidget):
}
class AddressWidget(NestedMultiWidget):
components = {
'country': CountrySelectWithChoices,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment