scinote-web/app/views/step_comments/new.html.erb
2016-02-12 16:52:43 +01:00

7 lines
435 B
Text

<% provide(:head_title, t("step_comments.new.head_title", project: @step.my_module.project.name, module: @step.my_module.name)) %>
<h2><%=t "step_comments.new.title", step: (@step.position + 1).to_s %></h2>
<%= bootstrap_form_for [@step, @comment], url: step_step_comments_path do |f| %>
<%= f.text_area :message, style: "margin-top: 10px;" %><br />
<%= f.submit t("step_comments.new.create"), class: 'btn btn-primary' %>
<% end %>