Commit ac7bb206826dc74aea7d6566a49d781521d7c032

Authored by Dmitriy Zaporozhets
1 parent 3250a024

fixed app crash on new issue via get

Showing 1 changed file with 0 additions and 4 deletions   Show diff stats
app/views/issues/_form.html.haml
1 %div.issue-form-holder 1 %div.issue-form-holder
2 %h3= @issue.new_record? ? "New Issue" : "Edit Issue ##{@issue.id}" 2 %h3= @issue.new_record? ? "New Issue" : "Edit Issue ##{@issue.id}"
3 - - unless request.xhr?  
4 - .back_link  
5 - = link_to project_issue_path(@project, @issue) do  
6 - ← back to show page  
7 = form_for [@project, @issue], :remote => request.xhr? do |f| 3 = form_for [@project, @issue], :remote => request.xhr? do |f|
8 -if @issue.errors.any? 4 -if @issue.errors.any?
9 .alert-message.block-message.error 5 .alert-message.block-message.error