Let domain to to draft status

This commit is contained in:
Martin Lensment 2014-09-09 17:26:08 +03:00
parent e9e1e057f5
commit 7f26c8c769
6 changed files with 32 additions and 14 deletions

View file

@ -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