rosa-build/app/views/admin/users/new.html.haml

19 lines
631 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.block
.content
%h2.title= title t("layout.users.new_header")
.inner
= form_for @user, :url => admin_users_path, :html => {:class => :form} do |f|
-if @user.system?
=hidden_field_tag :role, 'system'
.leftlist= f.label :uname, t("activerecord.attributes.user.uname")
.rightlist= f.text_field :uname
.leftlist
\ 
.rightlist= submit_tag t("layout.save"), :data => {:"disable-with" => t("layout.saving")}
.both
-else
= render "users/base/form", :f => f
- content_for :sidebar do
.bordered.nopadding
= render 'submenu'