|
|
|
%h3= @milestone.new_record? ? "New Milestone" : "Edit Milestone ##{@milestone.id}"
|
|
|
|
%h3.page_title= @milestone.new_record? ? "New Milestone" : "Edit Milestone ##{@milestone.id}"
|
|
|
|
.back_link
|
|
|
|
= link_to project_milestones_path(@project) do
|
|
|
|
← To milestones
|
| ... | ... | @@ -17,12 +17,12 @@ |
|
|
|
= f.label :title, "Title", class: "control-label"
|
|
|
|
.controls
|
|
|
|
= f.text_field :title, maxlength: 255, class: "input-xlarge"
|
|
|
|
%p.help-block Required
|
|
|
|
%p.hint Required
|
|
|
|
.control-group
|
|
|
|
= f.label :description, "Description", class: "control-label"
|
|
|
|
.controls
|
|
|
|
= f.text_area :description, maxlength: 2000, class: "input-xlarge", rows: 10
|
|
|
|
%p.help-block Markdown is enabled.
|
|
|
|
%p.hint Markdown is enabled.
|
|
|
|
.span6
|
|
|
|
.control-group
|
|
|
|
= f.label :due_date, "Due Date", class: "control-label"
|
| ... | ... | |
| ... | ... | |