|
|
|
@ -34,7 +34,9 @@ class CheckAnswersSummaryListCardComponent < ViewComponent::Base |
|
|
|
send("#{log.model_name.param_key}_#{question.page.id}_path", log, referrer:) |
|
|
|
send("#{log.model_name.param_key}_#{question.page.id}_path", log, referrer:) |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
def correct_validation_action_href(question, log, _related_question_ids) |
|
|
|
def correct_validation_action_href(question, log, _related_question_ids, correcting_hard_validation) |
|
|
|
|
|
|
|
return action_href(question, log) unless correcting_hard_validation |
|
|
|
|
|
|
|
|
|
|
|
if question.displayed_as_answered?(log) |
|
|
|
if question.displayed_as_answered?(log) |
|
|
|
send("#{log.model_name.param_key}_confirm_clear_answer_path", log, question_id: question.id) |
|
|
|
send("#{log.model_name.param_key}_confirm_clear_answer_path", log, question_id: question.id) |
|
|
|
else |
|
|
|
else |
|
|
|
|