Sha256: b9ce8770571b2136740714a55e0753d00a30916ba44d2671fde303cd98ff241b

Contents?: true

Size: 1.45 KB

Versions: 12

Compression:

Stored size: 1.45 KB

Contents

<div class="modal hide" id="modal-register-form">
  <div class="modal-header">
    <button type="button" class="close" data-dismiss="modal">×</button>
    <h3><%%= t(:register, :default => "Register") %></h3>
  </div>
  <div class="modal-body">
    <%% resource ||= <%= model.camelize %>.new %>
    <%%= form_for(resource, :as => '<%= model %>', :url => registration_path('<%= model %>'), :html => { :class => "form-horizontal" }) do |f| %>
      <%% begin %>
        <%%= devise_error_messages! %>
      <%% rescue %>
      <%% end %>
      <div class="control-group">
        <%%= f.label :email, t(:email, :default => "Email"), :class => "control-label" %>
        <div class="controls">
          <%%= f.email_field :email %>
        </div>
      </div>
      <div class="control-group">
        <%%= f.label :password, t(:password, :default => "Password"), :class => "control-label" %>
        <div class="controls">
          <%%= f.password_field :password %>
        </div>
      </div>
      <div class="control-group">
        <%%= f.label :password_confirmation, t(:password_confirmation, :default => "Password confirmation"), :class => "control-label" %>
        <div class="controls">
          <%%= f.password_field :password_confirmation %>
        </div>
      </div>

      <div class="control-group">
        <div class="controls">
          <%%= f.submit t(:sign_up, :default => "Sign up"), :class => 'btn' %>
        </div>
      </div>
    <%% end %>
  </div>
</div>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
beautiful_scaffold-0.3.3 lib/generators/templates/app/views/partials/_register_form.html.erb
beautiful_scaffold-0.3.2 lib/generators/templates/app/views/partials/_register_form.html.erb
beautiful_scaffold-0.3.1 lib/generators/templates/app/views/partials/_register_form.html.erb
beautiful_scaffold-0.3.0.rc6 lib/generators/templates/app/views/partials/_register_form.html.erb
beautiful_scaffold-0.3.0.rc5 lib/generators/templates/app/views/partials/_register_form.html.erb
beautiful_scaffold-0.3.0.rc4 lib/generators/templates/app/views/partials/_register_form.html.erb
beautiful_scaffold-0.3.0.rc3 lib/generators/templates/app/views/partials/_register_form.html.erb
beautiful_scaffold-0.3.0.rc2 lib/generators/templates/app/views/partials/_register_form.html.erb
beautiful_scaffold-0.3.0.rc1 lib/generators/templates/app/views/partials/_register_form.html.erb
beautiful_scaffold-0.3.0.pre lib/generators/templates/app/views/partials/_register_form.html.erb
beautiful_scaffold-0.2.7 lib/generators/templates/app/views/partials/_register_form.html.erb
beautiful_scaffold-0.2.6 lib/generators/templates/app/views/partials/_register_form.html.erb