Sha256: 0327126008cbc3892f7d4892c9c839d497b89b9eddf63fa53569dd506e72e743

Contents?: true

Size: 782 Bytes

Versions: 2

Compression:

Stored size: 782 Bytes

Contents

<%%# describes about each <%= instance_name %> %>
<div class="box hoverable p-10 box-border-black">

  <div class="row">
    <div class="col-md-2 visible-md visible-lg">
      <%%= display_image(<%= instance_name %>, :photo, "75%") %>
    </div>
    <div class="col-md-10">
      <%%= link_to <%= instance_name %>.id, <%= resource_link('show', 'path') %>(<%= instance_name %>),
          :remote=>true, :class=>"heading3" %><br/>

      <div class="content"><%%#= scrap_word(<%= instance_name %>.<%= text_fields.any? ? text_fields.first : "description" %>, 160) %></div>

      <div class="mt-10 pull-right text-color-gray fs-11 visible-md visible-lg">
        <%%= display_time(<%= instance_name %>.created_at) %>
      </div>
  	</div>
  </div>

  <div class="cl"></div>

</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
humdrum-rails-0.1.3 lib/rails/generators/humdrum/resource/templates/views/bootstrap3/resource/_item.html.erb
humdrum-rails-0.1.2 lib/rails/generators/humdrum/resource/templates/views/bootstrap3/resource/_item.html.erb