Skip to content

Conversation

@sl1-1
Copy link
Contributor

@sl1-1 sl1-1 commented Aug 19, 2020

split from #744

return Response(define.webpage(request.userid, "control/edit_profile.html", [form, form], title="Edit Profile", options=["typeahead"]))
sites = zip(site_names, site_values)

if 'more' in request.params:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if 'more' in request.params:
# Allow adding additional links to the profile via 'New' button without intermediate save if JavaScript is disabled
if 'more' in request.params:

The only comment I have here is we might consider a comment here... it took me way too long to grok the code and realize that this more parameter typically isn't present; it only is if scripts are off, for adding new links without actually saving in-between each newly added entry until done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants