Sha256: ca15c256c823140ee14bc74723c4a7630f40016eac8165696d200123d54307c0

Contents?: true

Size: 950 Bytes

Versions: 22

Compression:

Stored size: 950 Bytes

Contents

<div id="chat_settings" class="accordion-group">
  <header class="accordion-heading">
    <h5>      
      <%= link_to t('chat.title'),  "javascript:void(0);", class: 'accordion-toggle', "data-toggle" => 'collapse', "data-parent" => "#settings-accordion", "data-target" => "#chat_settings_content" %>
    </h5>
  </header>

  <div class="content settings_content collapse" id="chat_settings_content">
	  <%= form_tag(:controller => "Xmpp", :action => "updateSettings", :method => "get") do %>
    <ul  class="settings_block">
      <li>  
        <% checked = current_user.chat_enabled %>
        <%= check_box_tag 'enable_chat', true, checked %>
        <%= label_tag(:enable_chat, t('chat.settings.checkbox')) %> 
        <div class="actions center">
          <%= hidden_field_tag :settings_section, :chat %>
          <%= submit_tag t('chat.settings.update'), :class => "btn" %>
        </div>
      </li>
    </ul>
    <% end %>
  </div>
</div>

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
social_stream-2.2.2 presence/app/views/settings/_chat.html.erb
social_stream-presence-2.2.1 app/views/settings/_chat.html.erb
social_stream-2.2.1 presence/app/views/settings/_chat.html.erb
social_stream-2.2.0 presence/app/views/settings/_chat.html.erb
social_stream-presence-2.2.0 app/views/settings/_chat.html.erb
social_stream-2.1.1 presence/app/views/settings/_chat.html.erb
social_stream-2.1.0 presence/app/views/settings/_chat.html.erb
social_stream-presence-2.1.0 app/views/settings/_chat.html.erb
social_stream-2.0.4 presence/app/views/settings/_chat.html.erb
social_stream-presence-2.0.2 app/views/settings/_chat.html.erb
social_stream-2.0.3 presence/app/views/settings/_chat.html.erb
social_stream-2.0.2 presence/app/views/settings/_chat.html.erb
social_stream-presence-2.0.1 app/views/settings/_chat.html.erb
social_stream-2.0.1 presence/app/views/settings/_chat.html.erb
social_stream-2.0.0 presence/app/views/settings/_chat.html.erb
social_stream-presence-2.0.0 app/views/settings/_chat.html.erb
social_stream-2.0.0.beta3 presence/app/views/settings/_chat.html.erb
social_stream-presence-2.0.0.beta3 app/views/settings/_chat.html.erb
social_stream-2.0.0.beta2 presence/app/views/settings/_chat.html.erb
social_stream-presence-2.0.0.beta2 app/views/settings/_chat.html.erb