Sha256: 2c541b0bb4687d5c11378426172f49b8b3c45fc46dbfbd3bbfa85fc4babb9d8a

Contents?: true

Size: 966 Bytes

Versions: 3

Compression:

Stored size: 966 Bytes

Contents

<%= link_to span_tag('Create New Directory'), new_cms_admin_upload_dir_path, :class => 'big button' %>
<h1>Upload Directories</h1>
<b>Base Directory: /<%=LucyCMS.config.cms_upload_directory%></b><br>
<br>
<ul class='list'>
  <% @cms_upload_dirs.each do |cms_upload_dir| %>
    <li id='cms_upload_dir_<%= cms_upload_dir.id %>'>
      <div class='item'>
        <div class='icon'></div>
        <div class='action_links'>
          <%= link_to 'Delete', cms_admin_upload_dir_path(cms_upload_dir), :method => :delete, :confirm => 'Are you sure?' %>
        </div>
        <div class='label'>
          <%= link_to cms_upload_dir.label, cms_admin_upload_dir_path(cms_upload_dir) %>
          <div class='sublabel'>
            <br>
            <div style='float:right'>Created by: <%=cms_upload_dir.cms_user.full_name%> on <%=cms_upload_dir.updated_at.strftime("%m/%d/%Y at %I:%M %p %Z") %></div>
          </div>
        </div>
      </div>
    </li>
  <% end %>
</ul>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lucy_cms-0.0.3 app/views/cms_admin/upload_dirs/index.html.erb
lucy_cms-0.0.2 app/views/cms_admin/upload_dirs/index.html.erb
lucy_cms-0.0.1 app/views/cms_admin/upload_dirs/index.html.erb