Sha256: 3ac4643b803bc8693abd01143aef671d7eb48f5eeb3d65ab8ad8ea83e5080b9f

Contents?: true

Size: 1.61 KB

Versions: 6

Compression:

Stored size: 1.61 KB

Contents

<div class="modal fade" id="modal-register-form">
  <div class="modal-dialog">
    <div class="modal-content">
      <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="form-group">
            <%%= f.label :email, t(:email, :default => "Email"), :class => "control-label" %>
            <div>
              <%%= f.email_field :email %>
            </div>
          </div>
          <div class="form-group">
            <%%= f.label :password, t(:password, :default => "Password"), :class => "control-label" %>
            <div>
              <%%= f.password_field :password %>
            </div>
          </div>
          <div class="form-group">
            <%%= f.label :password_confirmation, t(:password_confirmation, :default => "Password confirmation"), :class => "control-label" %>
            <div>
              <%%= f.password_field :password_confirmation %>
            </div>
          </div>

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
beautiful_scaffold-1.0.2 lib/generators/templates/app/views/partials/_register_form.html.erb
beautiful_scaffold-1.0.1 lib/generators/templates/app/views/partials/_register_form.html.erb
beautiful_scaffold-1.0.0.pre lib/generators/templates/app/views/partials/_register_form.html.erb
beautiful_scaffold-0.3.6 lib/generators/templates/app/views/partials/_register_form.html.erb
beautiful_scaffold-0.3.5 lib/generators/templates/app/views/partials/_register_form.html.erb
beautiful_scaffold-0.3.4 lib/generators/templates/app/views/partials/_register_form.html.erb