Skip to content

Instantly share code, notes, and snippets.

@thiagovsk
Created July 11, 2014 02:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thiagovsk/07fc7904cf23b8a9486f to your computer and use it in GitHub Desktop.
Save thiagovsk/07fc7904cf23b8a9486f to your computer and use it in GitHub Desktop.
<%= form_tag directories_path, method: :post do %>
<div class="field">
<%= label_tag "Login"%>
<%= text_field_tag 'login', nil,:required => true %>
</div>
<div class="field">
<%= label_tag "Nome"%>
<%= text_field_tag 'nome' , nil ,:required => true%>
</div>
<div class="field">
<%= label_tag "SobreNome"%>
<%= text_field_tag 'sobreNome' ,nil , :required => true %>
</div>
<div class="field">
<%= label_tag "Email"%>
<%= email_field_tag 'email' , nil, :required => true %>
</div>
<div class="field">
<%= label_tag "Senha"%>
<%= password_field_tag "password", nil ,:required => true %>
</div>
<%= button_tag :class => 'btn-success btn', :id => 'cadastrar' do %>
<i class=' icon-white icon-user'></i> Cadastrar
<% end %>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment