- <% if change_request["state"] == "open" %>
- <%= link_to "Expiry date", edit_time_extension_validation_request_path(change_request["id"], planning_application_id: params["planning_application_id"], change_access_id: params["change_access_id"]), class: "moj-task-list__task-name" %>
- <% else %>
- <%= link_to "Expiry date", time_extension_validation_request_path(change_request["id"], planning_application_id: params["planning_application_id"], change_access_id: params["change_access_id"]), class: "moj-task-list__task-name" %>
- <% end %>
+ <% if change_request["state"] == "open" %>
+ <%= link_to "Expiry date", edit_time_extension_validation_request_path(change_request["id"], planning_application_id: params["planning_application_id"], change_access_id: params["change_access_id"]), class: "moj-task-list__task-name" %>
+ <% else %>
+ <%= link_to "Expiry date", time_extension_validation_request_path(change_request["id"], planning_application_id: params["planning_application_id"], change_access_id: params["change_access_id"]), class: "moj-task-list__task-name" %>
+ <% end %>
<%= render "validation_requests/change_request_state", change_request: change_request %>