Sha256: 4c6558e531e22376a56dbba75d32d6340eba2a6e5e395519037c6639e77c4a11

Contents?: true

Size: 984 Bytes

Versions: 5

Compression:

Stored size: 984 Bytes

Contents

<section class="content-header">
  <h1>Edit Admin User - <%= @admin_user.email %></h1>
</section>
<section class="content">
  <div class="row">
    <div class="col-xs-12">
      <div class="box box-primary">
        <div class="box-body">
          <%= bootstrap_form_for @admin_user, url: admin_admin_user_path(@admin_user) do |f| %>
              <%= render partial: 'form', locals: { f: f } %>
              <% if current_user == @admin_user %>
                  <div class="row">
                    <div class="col-xs-6">
                      <%= f.password_field :password %>
                    </div>
                    <div class="col-xs-6">
                      <%= f.password_field :password_confirmation, label: 'Password Confirmation' %>
                    </div>
                  </div>
              <% end %>
              <%= f.submit 'Update', class: 'btn btn-primary pull-right' %>
          <% end %>
        </div>
      </div>
    </div>
  </div>
</section>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
geri-0.1.4 app/views/geri/admin/admin_users/edit.html.erb
geri-0.1.3 app/views/geri/admin/admin_users/edit.html.erb
geri-0.1.1 app/views/geri/admin/admin_users/edit.html.erb
geri-0.1.0 app/views/geri/admin/admin_users/edit.html.erb
geri-0.0.1 app/views/geri/admin/admin_users/edit.html.erb