Sha256: 73fd9cbdd52e81cca13923590e49946a4c75087e0bb7b9e3f6a9f2f6be06840d

Contents?: true

Size: 1.58 KB

Versions: 4

Compression:

Stored size: 1.58 KB

Contents

<%= provide(:page_title, t("model.Adminpanel::User")) %>
<div class="row-fluid">
  <%= 
    link_to( 
      content_tag(:div,
        content_tag(:i, nil, :class => 'icon-plus-sign icon-2x') + content_tag(:span, t("user.new"), nil), 
        :class => "btn btn-box span2"), 
      new_user_path
    )
  %>
</div>

<div class="row-fluid">
  <div class="widget widget-padding span12">
    <div class="widget-header">
          <i class="icon-user"></i>
          <h5>Usuarios</h5>
        </div>
    <div class="widget-body">
      <div class="dataTables_wrapper form-inline">
        <table id="information-table" class="table table-striped table-bordered dataTable">
          <thead>
            <tr>
              <th>Nombre</th>
              <th>Acción</th>
            </tr>
          </thead>
          <tbody>
            <% @users.each do |user| %>
            <tr>
              <td><%= link_to user.name, user_path(user) %></td>
                <td>
                  <%= link_to content_tag(:i, nil, :class => 'icon-pencil'), edit_user_path(user), :title => "Editar"%>
                  <%= link_to content_tag(:i, nil, :class => 'icon-remove'), user_path(user), :title => "Borrar", :method => :delete,
                                      :data => { :confirm => "Seguro?" }
                  %>
                </td>
            </tr>
            <% end %>
          </tbody>
        </table>
        <div class="row-fluid">
          <div class="span6"></div>
          <div class="span6"></div>
        </div>
      </div>
    </div>
  </div>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
adminpanel-0.1.1 app/views/adminpanel/users/index.html.erb
adminpanel-0.1.0cl.2 app/views/adminpanel/users/index.html.erb
adminpanel-0.1.0cl app/views/adminpanel/users/index.html.erb
adminpanel-0.1.0 app/views/adminpanel/users/index.html.erb