Created
April 23, 2013 12:50
-
-
Save JonathanVeg/5443298 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=form_tag('/user/cadaster', :multipart => true) do | |
=text_field_tag "name", params[:name], :placeholder => "Nome" | |
%br | |
=text_field_tag "email", params[:email], :placeholder => "E-mail" | |
%br | |
=text_field_tag "username", params[:username], :placeholder => "Nome de usuário" | |
%br | |
=password_field_tag "password", params[:password], :placeholder => "Senha" | |
%br | |
=password_field_tag "password_confirm", params[:password_confirm], :placeholder => "Confirme sua senha" | |
%br | |
= file_field_tag :avatar | |
%br | |
= submit_tag "Cadastrar",:id => 'btnCadaster', :action =>'cadaster', :name => 'cadaster' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment