21 lines
1.3 KiB
Plaintext
Executable file
21 lines
1.3 KiB
Plaintext
Executable file
- content_for :title do
|
|
\-
|
|
= t(:setup,:scope=>:user)
|
|
|
|
%div{:class=>"alert alert-info"}
|
|
= t(:no_config,:scope=>:user)
|
|
%form{:class=>"form-horizontal top-pix18",:action=>"#{url_for(:controller => 'user', :action => 'create')}",:method=>"post"}
|
|
%legend
|
|
= t(:setup,:scope=>:user)
|
|
%fieldset
|
|
= render :partial => "common/input_form_desc_field",:locals => {:object => @user,:attr => 'login',:label => nil,:example => 'joe.doe',:value => params[:user] ? params[:user][:login] : "" }
|
|
= render :partial => "common/input_form_desc_field",:locals => {:object => @user,:attr => 'first_name',:label => nil,:example => 'Joe',:value => params[:user] ? params[:user][:first_name] : ""}
|
|
= render :partial => "common/input_form_desc_field",:locals => {:object => @user,:attr => 'last_name',:label => nil,:example => 'Doe',:value => params[:user] ? params[:user][:last_name] : ""}
|
|
= render :partial => "common/input_form_desc_field",:locals => {:object => @server,:attr => 'name',:label => nil,:example => 'server.domain',:value => params[:server] ? params[:server][:name] : ""}
|
|
.control-group
|
|
.controls
|
|
= render :partial => "common/button",:locals => { :name=>'send',
|
|
:caption => t(:send_config,:scope=>:user),
|
|
:icon =>'icon-ok icon-white'}
|
|
%hr/
|