Sha256: 6a885810fcd05f57d3c04132ecfa4429195e429e63a5266d64bb93f51469d4e4

Contents?: true

Size: 1.24 KB

Versions: 6

Compression:

Stored size: 1.24 KB

Contents

<section class="content-header">
  <h1>
    Create Admin Users
  </h1>
  <ol class="breadcrumb">
    <li><a href="/"><i class="fa fa-dashboard"></i> Home</a></li>
    <li><a href="#">Tables</a></li>
    <li class="active">Simple</li>
  </ol>
</section>


<section class="content col-md-4">
  <%= form_tag(users_path(@user)) do -%>
    <div class="form-group">
      <label for="title">Email</label>
      <input type="text" class="form-control" id="title" name="users[email]" placeholder="Enter email">
    </div>

    <div class="form-group">
      <label for="title">Username</label>
      <input type="text" class="form-control" id="title" name="users[username]" placeholder="Enter email">
    </div>

    <div class="form-group">
      <label for="password">Password</label>
      <input type="password" class="form-control" id="password" name="users[password]" placeholder="Enter password">
    </div>

    <div class="form-group">
      <label for="password_confirmation">Password Confirmation</label>
      <input type="password" class="form-control" id="password_confirmation" name="users[password_confirmation]" placeholder="Repeat password">
    </div>

    <input type="submit" class="btn btn-primary" id="article-save-btn" value="Save">  
  <% end %>
</section>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dq_admin-0.4.3 app/views/dq_admin/users/new.html.erb
dq_admin-0.4.2 app/views/dq_admin/users/new.html.erb
dq_admin-0.4.0 app/views/dq_admin/users/new.html.erb
dq_admin-0.3.0 app/views/dq_admin/users/new.html.erb
dq_admin-0.2.0 app/views/dq_admin/users/new.html.erb
dq_admin-0.1.0 app/views/dq_admin/users/new.html.erb