Sha256: b0e4144a02977bb4c14c334f4babca8f40a150c833d26231efd9c6bc54e5d0d1

Contents?: true

Size: 1.01 KB

Versions: 4

Compression:

Stored size: 1.01 KB

Contents

%li{:id => "<%=child_singular_name%>_#{<%=child_singular_name%>.id}"}
  %div{:class => "<%=child_singular_name%> <%=child_singular_name%>_#{<%=child_singular_name%>.id}"}
    %script{:charset => "utf-8", :type => "text/javascript"}
      $("a.settings").fancybox({
      'showCloseButton' : false,
      'transitionIn'  : 'elastic',
      'transitionOut' : 'elastic',
      'speedIn'   : 400,
      'speedOut'    : 200,
      'hideOnContentClick': false,
      'overlayOpacity' : 0.6,
      'overlayColor' : '#000',
      'opacity' : 'true'
      });
    = image_tag <%=child_singular_name%>.file.url(:thumb), :height => '50'
    %br/
    = truncate <%=child_singular_name%>.title, :length => 23
    %br/
    - unless <%=child_singular_name%>.date_shot.blank?
      (#{<%=child_singular_name%>.date_shot})
    = link_to "Edit <%=child_class_name%>", edit_<%=child_singular_name%>_path(<%=child_singular_name%>.id, :format => 'html', :edit => "<%=child_singular_name%>"), :class => "settings", :title => "<%=child_class_name%> Settings"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dust-generators-0.3.3 lib/generators/dust/albums/templates/app/views/photos/_photo.html.haml
dust-generators-0.3.2 lib/generators/dust/albums/templates/app/views/photos/_photo.html.haml
dust-generators-0.3.1 lib/generators/dust/albums/templates/app/views/photos/_photo.html.haml
dust-generators-0.2.8 lib/generators/dust/albums/templates/app/views/photos/_photo.html.haml