Sha256: 98d8631f31a4a28d1408a94732cf0ecf05b887476fce8d6561bbbc3ac593f7a6

Contents?: true

Size: 832 Bytes

Versions: 7

Compression:

Stored size: 832 Bytes

Contents

<% @resource_updated_at = new Date @resource_updated_at %>
<% @formatted_resource_updated_at = "#{@resource_updated_at.getMonth() + 1}/#{@resource_updated_at.getDate()}/#{@resource_updated_at.getFullYear()}" %>

<div class="clearfix" id="current-image">
  <input id="content_image_image_id" name="content_image[image_id]" type="hidden" value="<%= @id %>" />

  <h3 id="selected_image_title">Current Image</h3>

  <div class="clearfix" id="selected_image_viewpane">
    <img alt="<%= @resource_file_name %>" src="<%= if @thumb_url? then @thumb_url else '/assets/tandem/blank_image.jpg' %>" style="" />
  </div>
  
  <% if @thumb_url?: %>
    <ul id="tandem_image_attributes">
      <li class="image_name"><%= @resource_file_name %></li>
      <li>Last Modified: <%= @formatted_resource_updated_at %></li>
    </ul>
  <% end %>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
tandem-0.2.5 app/assets/javascripts/tandem/current_image.jst.eco
tandem-0.2.4 app/assets/javascripts/tandem/current_image.jst.eco
tandem-0.2.3 app/assets/javascripts/tandem/current_image.jst.eco
tandem-0.2.2 app/assets/javascripts/tandem/current_image.jst.eco
tandem-0.2.1 app/assets/javascripts/tandem/current_image.jst.eco
tandem-0.2.0 app/assets/javascripts/tandem/current_image.jst.eco
tandem-0.2.0.rc app/assets/javascripts/tandem/current_image.jst.eco