Sha256: 916a00f3f4a0f0a9be63c93b301abf33d1caddda5bca0cb79178690d21bf8a78
Contents?: true
Size: 1.15 KB
Versions: 15
Compression:
Stored size: 1.15 KB
Contents
<h2>Sign up</h2> <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %> <%= devise_error_messages! %> <div><%= f.label :email %> <%= f.email_field :email %></div> <div><%= f.label :password %> <%= f.password_field :password %></div> <div><%= f.label :password_confirmation %> <%= f.password_field :password_confirmation %></div> <% if params[:groups] %> <%= hidden_field_tag :groups, params[:groups] %> <% end %> <% if @attributes && @attributes.size>0 %> <div class="attributes"> <% @attributes.each do |attr| %> <div class="attribute #{attr.code_name}"> <%= f.label attr.name %> <%= render :partial=>"form/form_field", :locals=>{:type=>attr.form_field_type, :field=>attr, :value=>params["#{attr.code_name}"], :is_mandatory=>attr.is_mandatory?, :has_error=>@errors && @errors[attr.id], :show_options_editor=>false} %> <% if attr.description.not_blank? %> <div class="description"> <%= attr.description %> </div> <% end %> </div> <% end %> </div> <% end %> <div><%= f.submit "Sign up" %></div> <% end %> <%= render "user/shared/links" %>
Version data entries
15 entries across 15 versions & 1 rubygems