Sha256: 9ae93d99d612e39e2f7299c35e43ed7a9ef2d419e60877cf4ee3851b59023075
Contents?: true
Size: 1.21 KB
Versions: 3
Compression:
Stored size: 1.21 KB
Contents
<% @title = 'Register' %> <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %> <%= devise_error_messages! %> <fieldset style="width:235px"> <legend><%= @title %></legend> <div class="field"> <%= f.label :first_name %><br /> <%= f.text_field :first_name %> </div> <div class="field"> <%= f.label :last_name %><br /> <%= f.text_field :last_name %> </div> <div class="field"> <%= f.label :email %><br /> <%= f.text_field :email %> </div> <% if @user.password_required? %> <div class="field"> <%= f.label :password %><br /> <%= f.password_field :password %> </div> <div class="field"> <%= f.label :password_confirmation %><br /> <%= f.password_field :password_confirmation %> </div> <% end %> </fieldset> <div class="actions"> <% form_name = 'user_new' %> <%= link_to_function image_tag('stock/tick.png', :alt => '') + "Sign up", "$('##{form_name}').submit();", :class => "button positive" %> <div style="clear:both"></div><br /> <%= link_to "Already signed up? Login here!", new_session_path(resource_name) %> </div> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
contour-0.3.1 | app/views/contour/registrations/new.html.erb |
contour-0.3.0 | app/views/contour/registrations/new.html.erb |
contour-0.2.1 | app/views/contour/registrations/new.html.erb |