Sha256: cae9872ef8824f4863b164c794b38abfb41b5c85752e9b7156786cc6666610bc

Contents?: true

Size: 1.26 KB

Versions: 13

Compression:

Stored size: 1.26 KB

Contents

<%= form_with(model: admin_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 admin_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 admin_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 admin_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-light" %>
  </div>
<% end %>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
administration-zero-0.0.13 lib/generators/admin/install/templates/erb/admin/users/_form.html.erb
administration-zero-0.0.12 lib/generators/admin/install/templates/erb/admin/users/_form.html.erb
administration-zero-0.0.11 lib/generators/admin/install/templates/erb/admin/users/_form.html.erb
administration-zero-0.0.10 lib/generators/admin/install/templates/erb/admin/users/_form.html.erb
administration-zero-0.0.9 lib/generators/admin/install/templates/erb/admin/users/_form.html.erb
administration-zero-0.0.8 lib/generators/admin/install/templates/erb/admin/users/_form.html.erb
administration-zero-0.0.7 lib/generators/admin/install/templates/erb/admin/users/_form.html.erb
administration-zero-0.0.6 lib/generators/admin/install/templates/erb/admin/users/_form.html.erb
administration-zero-0.0.5 lib/generators/admin/install/templates/erb/admin/users/_form.html.erb
administration-zero-0.0.4 lib/generators/admin/install/templates/erb/admin/users/_form.html.erb
administration-zero-0.0.3 lib/generators/admin/install/templates/erb/admin/users/_form.html.erb
administration-zero-0.0.2 lib/generators/admin/install/templates/erb/admin/users/_form.html.erb
administration-zero-0.0.1 lib/generators/admin/install/templates/erb/admin/users/_form.html.erb