Sha256: 511b9ca4d06802fd16f6a4c531fdc185c27bf4180f1f7d85d022b4e2684f983d

Contents?: true

Size: 1.18 KB

Versions: 47

Compression:

Stored size: 1.18 KB

Contents

<% @title = 'Sign up' %>
<div class="page-header">
  <h1><%= @title %></h1>
</div>

<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), html: { class: 'form-horizontal' }) do |f| %>
  <%= devise_error_messages! %>

  <% Contour.sign_up_fields.each do |field_hash| %>
    <div class="control-group">
      <%= f.label field_hash[:attribute], class: 'control-label' %>
      <div class="controls">
        <%= f.send(field_hash[:type], field_hash[:attribute]) %>
      </div>
    </div>
  <% end %>

  <div class="control-group">
    <%= f.label :email, class: 'control-label' %>
    <div class="controls">
      <%= f.email_field :email %>
    </div>
  </div>

  <div class="control-group">
    <%= f.label :password, class: 'control-label' %>
    <div class="controls">
      <%= f.password_field :password %>
    </div>
  </div>

  <div class="control-group">
    <%= f.label :password_confirmation, class: 'control-label' %>
    <div class="controls">
      <%= f.password_field :password_confirmation %>
    </div>
  </div>

  <div class="form-actions">
    <%= f.submit "Sign up", class: 'btn btn-primary' %>
    <%= render partial: 'contour/links' %>
  </div>
<% end %>

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
contour-2.0.0.beta.5 app/views/contour/registrations/new.html.erb
contour-2.0.0.beta.4 app/views/contour/registrations/new.html.erb
contour-2.0.0.beta.3 app/views/contour/registrations/new.html.erb
contour-2.0.0.beta.2 app/views/contour/registrations/new.html.erb
contour-2.0.0.beta.1 app/views/contour/registrations/new.html.erb
contour-1.3.0 app/views/contour/registrations/new.html.erb
contour-1.3.0.pre app/views/contour/registrations/new.html.erb
contour-1.2.1 app/views/contour/registrations/new.html.erb
contour-1.2.0 app/views/contour/registrations/new.html.erb
contour-1.2.0.pre8 app/views/contour/registrations/new.html.erb
contour-1.2.0.pre7 app/views/contour/registrations/new.html.erb
contour-1.2.0.pre6 app/views/contour/registrations/new.html.erb
contour-1.2.0.pre5 app/views/contour/registrations/new.html.erb
contour-1.2.0.pre4 app/views/contour/registrations/new.html.erb
contour-1.2.0.pre3 app/views/contour/registrations/new.html.erb
contour-1.2.0.pre2 app/views/contour/registrations/new.html.erb
contour-1.1.3 app/views/contour/registrations/new.html.erb
contour-1.2.0.pre app/views/contour/registrations/new.html.erb
contour-1.1.3.pre2 app/views/contour/registrations/new.html.erb
contour-1.1.3.pre app/views/contour/registrations/new.html.erb