<%= form_for user, url: action do |f| %>

Name: <%= f.text_field :name %>

eMail: <%= f.email_field :email %>

Role: <%= f.text_field :role %>

<%= f.submit %> <% end %>