Sha256: e19cbda41fc804ea927526eb8fe3a60f34cf71ba47957c3ba1df403c1aa4698e

Contents?: true

Size: 626 Bytes

Versions: 4

Compression:

Stored size: 626 Bytes

Contents

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

  <div class="pull-left">
    <%%= link_to <%= instance_name %>.<%= main_string_field %>, <%= resource_link('show', 'path') %>(<%= instance_name %>), :remote=>true, :class=>"text-color-blue fs-16" %></br>
	</div>
  <div class="pull-right text-color-red fs-12">
    <%%= display_time(<%= instance_name %>.created_at) %>
  </div>

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

	<div class="p-5">
	<%- text_fields.each do |name| -%>
	  <%%= scrap_word(<%= instance_name %>.<%= name %>, 200) %>
	<%- end -%>
	</div>

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

</div>

Version data entries

4 entries across 2 versions & 1 rubygems

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