[refs #270] some fixes when creating new user

This commit is contained in:
Alexander Machehin 2012-03-21 23:52:27 +06:00
parent a6a5b722d2
commit a562219706
1 changed files with 1 additions and 5 deletions

View File

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