mirror of
https://github.com/internetee/registry.git
synced 2025-08-05 17:28:18 +02:00
Let domain to to draft status
This commit is contained in:
parent
e9e1e057f5
commit
7f26c8c769
6 changed files with 32 additions and 14 deletions
|
@ -1,9 +1,10 @@
|
|||
%h2= t('shared.new_domain')
|
||||
%hr
|
||||
= form_for([:admin, @domain]) do |f|
|
||||
= @domain.errors.inspect
|
||||
- if @domain.errors.any?
|
||||
- @domain.errors.full_messages.each do |x|
|
||||
= x
|
||||
- @domain.errors.each do |attr, err|
|
||||
= err
|
||||
%br
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue