Skip to content

Commit 70a0736

Browse files
committed
No longer ask for contact information
This way, we have no field asking for personally identifiable information
1 parent 5281b62 commit 70a0736

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

group_composition_plot/interactive_RSE_comp_plot.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -319,18 +319,6 @@ def create_submission_header():
319319
]
320320
)
321321
),
322-
dbc.Row(
323-
dbc.InputGroup(
324-
[
325-
dbc.InputGroupText("Your contact", style={"width": "20%"}),
326-
dbc.Input(
327-
placeholder="Please provide a contact for your group.",
328-
type="text",
329-
id="institution_contact",
330-
),
331-
]
332-
)
333-
),
334322
dbc.Row(
335323
dbc.InputGroup(
336324
[
@@ -355,7 +343,6 @@ def save_submission(
355343
n_clicks,
356344
institution_name,
357345
institution_citation,
358-
institution_contact,
359346
institution_text,
360347
activity_names,
361348
activity_weights,
@@ -365,7 +352,6 @@ def save_submission(
365352
check_inputs = bool(
366353
institution_name
367354
and institution_citation
368-
and institution_contact
369355
and institution_text
370356
)
371357

@@ -390,7 +376,6 @@ def save_submission(
390376
submission_dict = {
391377
"institution_name": institution_name,
392378
"institution_citation": institution_citation,
393-
"institution_contact": institution_contact,
394379
"institution_text": institution_text,
395380
"activity_names": activity_names,
396381
"activity_weights": activity_weights,
@@ -492,7 +477,6 @@ def save_submission(
492477
Input("submit-button", "n_clicks"),
493478
State("institution_name", "value"),
494479
State("institution_citation", "value"),
495-
State("institution_contact", "value"),
496480
State("institution_text", "value"),
497481
State(
498482
{

0 commit comments

Comments
 (0)