[refs #270] some fixes when creating new user
This commit is contained in:
parent
a6a5b722d2
commit
a562219706
|
@ -3,11 +3,6 @@
|
||||||
%h2.title= t("layout.users.new_header")
|
%h2.title= t("layout.users.new_header")
|
||||||
.inner
|
.inner
|
||||||
= form_for @user, :url => users_path, :html => { :class => :form } do |f|
|
= form_for @user, :url => users_path, :html => { :class => :form } do |f|
|
||||||
.leftlist
|
|
||||||
= f.label :uname, t("activerecord.attributes.user.uname")
|
|
||||||
.rightlist
|
|
||||||
= f.text_field :uname
|
|
||||||
.both
|
|
||||||
.leftlist
|
.leftlist
|
||||||
= f.label :password, t("activerecord.attributes.user.password")
|
= f.label :password, t("activerecord.attributes.user.password")
|
||||||
.rightlist
|
.rightlist
|
||||||
|
@ -22,3 +17,4 @@
|
||||||
|
|
||||||
- content_for :sidebar do
|
- content_for :sidebar do
|
||||||
.bordered.nopadding
|
.bordered.nopadding
|
||||||
|
= render 'admin/submenu'
|
Loading…
Reference in New Issue