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 ##{}
- if @runner.errors.any?
- @runner.errors.full_messages.each do |error|
%div= error
= form_errors(@runner)
= 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