<% unless current_user %>
    <p>
      <%= link_to "Login", new_session_path %> to upload source images and create source sets.
    </p>
<% end %>

<% unless @src_images.empty? %>
    <%= render partial: 'src_images/src_images' %>
<% end %>

<% unless @src_sets.empty? %>
    <%= render :partial => 'src_sets/src_sets' %>
<% end %>

<% unless @gend_images.empty? %>
    <%= render :partial => 'gend_images/gend_images' %>
<% end %>

<% unless current_user %>
    <p>
      <%= link_to "Login", new_session_path %> to upload source images and create source sets.
    </p>
<% end %>

<% unless @src_images.empty? %>
    <%= render partial: 'src_images/src_images' %>
<% end %>

<% unless @src_sets.empty? %>
    <%= render partial: 'src_sets/src_sets' %>
<% end %>

<% unless @gend_images.empty? %>
    <%= render partial: 'gend_images/gend_images' %>
<% end %>

Use ruby 1.9 style hashes.
Use ruby 1.9 style hashes.
