Skip to content

Commit

Permalink
Fix ticket request form
Browse files Browse the repository at this point in the history
  • Loading branch information
beingmattlevy committed May 4, 2024
1 parent e12e4d1 commit 19382a8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app/views/ticket_requests/_form.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,8 @@
= f.submit submit_btn_text, class: 'btn btn-primary btn-large', disabled: !is_update,
id: 'submit-request',
data: { disable_with: 'Submitting...' }
= link_to event_ticket_request_path(@event, @ticket_request), class: 'btn' do
%i.icon-arrow-left
Back
- if @ticket_request && @ticket_request.id
= link_to event_ticket_request_path(event_id: @event.id, id: @ticket_request&.id), class: 'btn' do
%i.icon-arrow-left
Back

0 comments on commit 19382a8

Please sign in to comment.