Sha256: 6d599e686670aef3d4797b49d1a7d6b6c1bd44c453519eb3ec86218e30ab79cb
Contents?: true
Size: 1.23 KB
Versions: 2
Compression:
Stored size: 1.23 KB
Contents
<% if receiver.sent_ties_allowing(current_subject, 'create', 'activity').any? %> <% content_for :javascript do %> securityImage = "<%= escape_javascript(image_tag('btn/btn_security.png', :id => 'security_image', :alt => 'security')) %>"; downImage = "<%= escape_javascript(image_tag('btn/btn_down.png')) %>"; $("#security").dropdownchecklist( { closeRadioOnClick: true } ); $("#security_image").parent().width(28); $("#security_image").parent().parent().width(28); <% end %> <div id="activities_header" class="content_size"> <%= form_for Post.new(:text => t('activity.input'), :_activity_tie_id => receiver.sent_ties_allowing(current_subject, 'create', 'activity').first.id), :remote => true do |f| %> <%= f.hidden_field :_activity_tie_id %> <%= f.text_field :text, :id => "input_activities", :size => 85 %> <div id="activities_share_btn"> <div id="securities"> <%= f.select :_activity_tie_id, receiver.sent_ties_allowing(current_subject, 'create', 'activity').map{ |t| [ t.relation_name, t.id ] }, {}, :id => 'security' %> </div> <%= image_submit_tag "btn/btn_share.png" %> </div> <% end -%> </div> <% end %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
social_stream-0.3.1 | app/views/activities/_new.html.erb |
social_stream-0.3.0 | app/views/activities/_new.html.erb |