Commit 53564d90 authored by Romain's avatar Romain

A few other iids instead of ids (mostly in edit forms)

parent bae18f0a
%div.issue-form-holder %div.issue-form-holder
%h3.page-title= @issue.new_record? ? "New Issue" : "Edit Issue ##{@issue.id}" %h3.page-title= @issue.new_record? ? "New Issue" : "Edit Issue ##{@issue.iid}"
= form_for [@project, @issue] do |f| = form_for [@project, @issue] do |f|
-if @issue.errors.any? -if @issue.errors.any?
.alert.alert-error .alert.alert-error
......
%h3.page-title %h3.page-title
= "Edit merge request ##{@merge_request.id}" = "Edit merge request ##{@merge_request.iid}"
%hr %hr
= render 'form' = render 'form'
%h3.page-title= @milestone.new_record? ? "New Milestone" : "Edit Milestone ##{@milestone.id}" %h3.page-title= @milestone.new_record? ? "New Milestone" : "Edit Milestone ##{@milestone.iid}"
.back-link .back-link
= link_to project_milestones_path(@project) do = link_to project_milestones_path(@project) do
← To milestones ← To milestones
......
%li %li
= link_to [@project, merge_request] do = link_to [@project, merge_request] do
%span.badge.badge-info ##{merge_request.id} %span.badge.badge-info ##{merge_request.iid}
– –
= link_to_gfm truncate(merge_request.title, length: 60), [@project, merge_request] = link_to_gfm truncate(merge_request.title, length: 60), [@project, merge_request]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment