Sha256: 70b53f644ac3a04db8592c70b1d8c3f4d9332eeaf2884790d61c51f5aa5b1be1

Contents?: true

Size: 1.23 KB

Versions: 8

Compression:

Stored size: 1.23 KB

Contents

<%= form_with(model: user) do |form| %>
  <div class="form-group row mb-2">
    <%= form.label :email, class: "form-label col-md-3 col-form-label" %>
    <div class="col-md px-0">
      <%= form.email_field :email, autocomplete: "email", class: "form-control" %>
      <%= tag.div user.errors[:email].first, class: "invalid-feedback" %>
    </div>
  </div>

  <div class="form-group row mb-2">
    <%= form.label :password, class: "form-label col-md-3 col-form-label" %>
    <div class="col-md px-0">
      <%= form.password_field :password, required: true, autocomplete: "new-password", class: "form-control" %>
      <%= tag.div user.errors[:password].first, class: "invalid-feedback" %>
    </div>
  </div>

  <div class="form-group row">
    <%= form.label :password_confirmation, class: "form-label col-md-3 col-form-label" %>
    <div class="col-md px-0">
      <%= form.password_field :password_confirmation, required: true, autocomplete: "new-password", class: "form-control" %>
      <%= tag.div user.errors[:password_confirmation].first, class: "invalid-feedback" %>
    </div>
  </div>

  <div class="form-footer">
    <%= form.submit class: "btn btn-primary" %>
    <%= link_to "Cancel", admin_users_path, class: "btn btn-white" %>
  </div>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
administration-zero-1.0.4 lib/generators/admin/install/templates/erb/admin/users/_form.html.erb
administration-zero-1.0.3 lib/generators/admin/install/templates/erb/admin/users/_form.html.erb
administration-zero-1.0.2 lib/generators/admin/install/templates/erb/admin/users/_form.html.erb
administration-zero-1.0.1 lib/generators/admin/install/templates/erb/admin/users/_form.html.erb
administration-zero-1.0.0 lib/generators/admin/install/templates/erb/admin/users/_form.html.erb
administration-zero-0.0.18 lib/generators/admin/install/templates/erb/admin/users/_form.html.erb
administration-zero-0.0.17 lib/generators/admin/install/templates/erb/admin/users/_form.html.erb
administration-zero-0.0.16 lib/generators/admin/install/templates/erb/admin/users/_form.html.erb