<% if src_image.work_in_progress %>
    <%= render :partial => 'application/under_construction' %>
<% else %>
    <%= link_to image_tag(url_for(src_image.src_thumb),
                          :size => "#{src_image.src_thumb.width}x#{src_image.src_thumb.height}", alt: src_image.name),
                :controller => :gend_images,
                :action => :new,
                :src => src_image.id_hash %>
<% end %>
<% if current_user %>
    <input type="checkbox" class="selector" data-id="<%= src_image.id_hash %>"/>
<% end %>

<% if src_image.work_in_progress %>
    <%= render :partial => 'application/under_construction' %>
<% else %>
    <%= link_to image_tag(url_for(src_image.src_thumb),
                          size: "#{src_image.src_thumb.width}x#{src_image.src_thumb.height}", alt: src_image.name),
                controller: :gend_images,
                action: :new,
                src: src_image.id_hash %>
<% end %>
<% if current_user %>
    <input type="checkbox" class="selector" data-id="<%= src_image.id_hash %>"/>
<% end %>

Convert to ruby 1.9 style hashes.
Convert to ruby 1.9 style hashes.
