Sha256: 23e70661d4658adec5c9a06ac10db3ad3560dc07e30d54740ab856991aaa59b9
Contents?: true
Size: 1.21 KB
Versions: 14
Compression:
Stored size: 1.21 KB
Contents
<li data-reorder-id='<%= node.id %>'> <%= simple_form_for [main_app, node], remote: true, html: {'data-type': 'json'} do |f| %> <div class="panel panel-default"> <div class="panel-heading"> <div class="order-title"> <%= f.input :title, as: :string, input_html: { name: "#{f.object.model_name.singular}[title][]", class: "title" }, value: node.to_s, label: false %> </div> <div class="file-set-link pull-right"> <%= link_to contextual_path(node, @presenter), title: "Edit file" do %> <span class="glyphicon glyphicon-edit" aria-hidden="true"></span> <% end %> </div> <% if node.respond_to?(:page_title) %> <div class="order-filename"> <em title="<%= node.page_title %>">(<%= truncate(node.page_title, length: 29) %>)</em> </div> <% end %> </div> <div class="panel-body"> <div class="text-center thumbnail"> <%= render "file_manager_thumbnail", node: node %> </div> <div class="attributes"> <%= render "file_manager_attributes", node: node, f: f%> </div> <div class="spacer"> </div> </div> </div> <% end %> </li>
Version data entries
14 entries across 14 versions & 1 rubygems