-# Copyright (c) 2010, Diaspora Inc. This file is -# licensed under the Affero General Public License version 3 or later. See -# the COPYRIGHT file. .back= link_to "⇧ #{@album.name}", @album %h1.big_text = "#{t('.editing')} #{@album.name}" .sub_header ="#{t('.updated')} #{how_long_ago(@album)}" - form_for @album do |a| = a.error_messages %p %b album name: = a.text_field :name - for photo in @album.photos .photo_edit_block= image_tag photo.url(:thumb_medium) .submit_block = link_to t('.cancel'), root_path or = a.submit .button.delete = link_to t('.delete_album'), @album, :confirm => t('.are_you_sure'), :method => :delete #content_bottom .back = link_to "⇧ #{@album.name}", @album