Sha256: 1d407b47ba3000af0c23c425928de3852c80b94b5249694476f174f475245b86

Contents?: true

Size: 968 Bytes

Versions: 5

Compression:

Stored size: 968 Bytes

Contents

<%= javascript_include_tag 'jquery.ui.widget'%>
<%= javascript_include_tag 'jquery.ui.mouse'%>
<%= javascript_include_tag 'jquery.ui.slider.js'%>

<p class="sectionTitle"><%= raw t('relation_custom.in_sphere.choose', :name => h(@sphere.name)) %> </p>


<div class="privacy_add_element">
  <div id="new_relation_custom_title_block"> 
    <a href="#"><span id="new_relation_custom_title" class="privacy_span_new"><%= t 'relation_custom.new' %></span></a>
  </div> 
  <div id="new_relation_custom_input_block"> 
    <%= render :partial => 'relation/customs/form' %>
  </div>
</div>

<div id="relation_custom_list">
  <%= render :partial => 'relation/customs/list', :object => @customs %>
</div>

<%= javascript_tag do %>
  $(function() {
    $("#new_relation_custom_input_block").hide();

    $("#new_relation_custom_title").click(function() {
      $("#new_relation_custom_title_block").hide();
      $("#new_relation_custom_input_block").show();
    });
  })
<% end %>

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
social_stream-base-0.5.2 app/views/relation/customs/_index.html.erb
social_stream-base-0.5.1 app/views/relation/customs/_index.html.erb
social_stream-base-0.5.0 app/views/relation/customs/_index.html.erb
social_stream-0.4.6 app/views/relation/customs/_index.html.erb
social_stream-0.4.5 app/views/relation/customs/_index.html.erb