X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/79bd1777ab0c165492122b10a22ecc2fb7cc4715..3bd06529c7f9920c4f71498277f453bf1b8dd030:/app/views/reports/new.html.erb diff --git a/app/views/reports/new.html.erb b/app/views/reports/new.html.erb index 705457cb6..f3bda8880 100644 --- a/app/views/reports/new.html.erb +++ b/app/views/reports/new.html.erb @@ -1,5 +1,5 @@ <% content_for :heading do %> -

<%= t ".title_html", :link => reportable_url(@report.issue.reportable) %>

+

<%= t ".title_html", :link => link_to(reportable_title(@report.issue.reportable), reportable_url(@report.issue.reportable)) %>

<% end %>
@@ -36,7 +36,7 @@
- <%= submit_tag %> + <%= f.submit %>
<% end %>