Sha256: 50a0e771e48d4e74c08401c3d079abe4e49b377bb06c1046555a8f4aebe7f3f6

Contents?: true

Size: 1.21 KB

Versions: 3

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 polymorphic_path([main_app, node]), 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

3 entries across 3 versions & 1 rubygems

Version Path
curation_concerns-1.0.0.beta6 app/views/curation_concerns/base/_file_manager_member.html.erb
curation_concerns-1.0.0.beta5 app/views/curation_concerns/base/_file_manager_member.html.erb
curation_concerns-1.0.0.beta4 app/views/curation_concerns/base/_file_manager_member.html.erb