Commit 8ab4a67c authored by Grzegorz Bizon's avatar Grzegorz Bizon

Use form errors helper in CI runner edit form

parent 3b0eeccc
......@@ -2,10 +2,7 @@
%h4 Runner ##{@runner.id}
- if @runner.errors.any?
.error-message.js-errors
- @runner.errors.full_messages.each do |error|
%div= error
= form_errors(@runner)
%hr
= render 'form', runner: @runner, runner_form_url: runner_path(@runner)
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