Skip to content

Commit

Permalink
Solve hiding/showing of date picker like a Cro-magnon
Browse files Browse the repository at this point in the history
  • Loading branch information
crutch committed Oct 7, 2023
1 parent 9246c27 commit ed4ec55
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/views/steps/_step_footer_logged_in.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,14 @@
<% end %></h2>
<div id="next-steps-info">
<%= render 'step_subscription', current_user_step: current_user_step %>
<a href="#" class="sdn-feedbackbar__link" data-module="sdn-appear-link" data-appear="change-notification-date" data-disappear="next-steps-info">Zmeniť
dátum?</a>
<a href="#" onclick="$('#change-notification-date').removeClass('sdn-appear-link-hide');$('#next-steps-info').addClass('sdn-appear-link-hide');return false;">Zmeniť dátum?</a>
</div>
<div id="change-notification-date" class="sdn-appear-link-hide">
<div class="govuk-grid-column-two-thirds">
Zmeniť dátum notifikácie
</div>
<div class="govuk-grid-column-one-third" style="text-align:right">
<a href="#" data-module="sdn-appear-link" data-appear="next-steps-info" data-disappear="change-notification-date">Zatvoriť</a>
<a href="#" onclick="$('#change-notification-date').addClass('sdn-appear-link-hide');$('#next-steps-info').removeClass('sdn-appear-link-hide');return false;">Zatvoriť</a>
</div>
<%= form_tag subscribe_to_deadline_notification_journey_step_path(@current_step.journey, @current_step) , remote: true, authenticity_token: true do %>
<div class="govuk-form-group">
Expand Down

0 comments on commit ed4ec55

Please sign in to comment.