Created
April 26, 2014 19:31
-
-
Save thiagovsk/11328900 to your computer and use it in GitHub Desktop.
form
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
<%= simple_form_for @usuarios do |f| %> | |
<%= f.input :nome, input_html: { class: 'special' } %> | |
<%= f.input :cpf, input_html: { maxlength: 11 } %> | |
<%= f.input :email %> | |
<%= f.input :login, input_html: { maxlength: 20 } %> | |
<%= f.input :senha, input_html: { maxlength: 12 } %> | |
<%=link_to raw("<i class=\"fa fa-plus-circle\"> Voltar "), | |
usuarios_path, | |
class: "btn btn-warning btn-small"%> | |
<%= button_tag :class => 'btn-success btn' , :id => 'criar-usuario' do %> | |
<i class='fa fa-plus-circle'></i> Cadastrar Usuário | |
<% end %> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment