Commit 7187815558373f091ca5a6d384885296908d90ca
1 parent
b2ad753b
Exists in
master
and in
29 other branches
Added new files
Showing
3 changed files
with
20 additions
and
0 deletions
Show diff stats
... | ... | @@ -0,0 +1,12 @@ |
1 | +<div id='profile-wall-reply-<%= scrap.id%>' style='display:none;'> | |
2 | + <div id='profile-wall-reply-form-<%= scrap.id%>' style='display:none;'> | |
3 | + <p class='profile-wall-reply'> | |
4 | + <% form_remote_tag :url => {:controller => 'profile', :action => 'leave_scrap'}, :update => "profile_activities", :success =>"hide_and_show(['#profile-wall-reply-form-#{scrap.id}'],['#profile-wall-reply-response-#{scrap.id}'])" do %> | |
5 | + <%= text_area :scrap, :content, { :id => "reply_content_#{scrap.id}", :cols => 50, :rows => 1, :class => 'submit-with-keypress' } %> | |
6 | + <%= hidden_field :scrap, :scrap_id, :id => "scrap_id_#{scrap.id}" %> | |
7 | + <%= hidden_field_tag 'receiver_id', scrap.sender.id %> | |
8 | + <% end %> | |
9 | + </p> | |
10 | + </div> | |
11 | + <div id='profile-wall-message-response-<%=scrap.id%>' class='profile-wall-message-response'></div> | |
12 | +</div> | ... | ... |