Sha256: a9febf4497dace8daae97e95e3e987ade474b32d62d621a5b9b4fab72ca3a63a

Contents?: true

Size: 868 Bytes

Versions: 8

Compression:

Stored size: 868 Bytes

Contents

<div class='meta'>
  <% unless md.children.empty? %>
      <%= link_to md.label.capitalize, "##{dom_id(md)}", :class => 'toggle_details' %>
  <% else %>
      <%= md.label.capitalize %>
  <% end %>
  (<%= md.documents.count %>)

  <%= link_to 'Add', md.id.to_s, :class => 'new' %>
  <%= link_to 'Edit', edit_system_meta_definition_path(md) %>
  <%= link_to 'Up', up_system_meta_definition_path(md) %>
  <%= link_to 'Down', down_system_meta_definition_path(md) %>
  <%= link_to 'Delete', system_meta_definition_path(md), :method => :delete, :confirm => "Delete this and #{md.documents.count} documents?" %>
</div>

<div id='<%= dom_id(md) %>' style='display:none;margin-left:20px;'>
  <% unless md.children.empty? %>
      <% md.children.each do |mdc| %>
          <%= render :partial => 'meta_definition', :locals => {:md => mdc} %>
      <% end %>
  <% end %>
</div>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
qcms-2.1.0 app/views/system/meta_definitions/_meta_definition.html.erb
qcms-2.0.0 app/views/system/meta_definitions/_meta_definition.html.erb
qcms-1.3.10 app/views/system/meta_definitions/_meta_definition.html.erb
qcms-1.3.9 app/views/system/meta_definitions/_meta_definition.html.erb
qcms-1.3.8 app/views/system/meta_definitions/_meta_definition.html.erb
qcms-1.3.7 app/views/system/meta_definitions/_meta_definition.html.erb
qcms-1.3.6 app/views/system/meta_definitions/_meta_definition.html.erb
qcms-1.3.5 app/views/system/meta_definitions/_meta_definition.html.erb