<% if movie_user.picture %> <%= image_tag movie_user.picture.url, :class => "centered" %> <% end %> |
<%= namelink movie_user %><%= cascade movie_user, ["content", "format", ["Author", :user], "length_s", ["Views", "view_count"], ["Date", "file.created_at"]] %> <% (params[:action] == "show" ? movie_user.all_files : [movie_user.file]).each do |file| %>File: <%= link_to File.basename(file.name.to_s), file.url %> <% end %> <% if cuser and movie_user.can_update? cuser %><%= link_to 'Edit', edit_movie_path(movie_user) %> | <%= link_to 'Make a Preview', :action => "preview", :id => movie_user %> | <%= link_to 'Destroy', movie_user, :confirm => 'Are you sure?', :method => :delete %> <% end %> |