<%= _("%s's wall") % @profile.name %>
<%= flash[:error] %>
<% form_remote_tag :url => {:controller => 'profile', :action => 'leave_scrap', :tab_action => 'wall' }, :update => 'profile_scraps', :success => "$('leave_scrap_content').value=''" do %>
<%= limited_text_area :scrap, :content, 420, 'leave_scrap_content', :cols => 50, :rows => 2 %>
<%= submit_button :scrap, _('Leave a scrap') %>
<% end %>
<%= render :partial => 'profile_scraps', :locals => {:scraps => @wall_items} %>