Sha256: 8de840a25b0e908a09a71d2a6cf5555e7e37cc7d11f6906e0a9ca5d4e8d80a2d

Contents?: true

Size: 1.23 KB

Versions: 2

Compression:

Stored size: 1.23 KB

Contents

<div class="block" id="language_settings">
  <div class="header">
    <div class="header_text">
 <%= t("account.lang.change")%>
    </div>
    <div class="header_icon_right">
 <%= link_to (image_tag('btn/edit.png')),  "javascript:showSettings(\"language_settings\");" %>
    </div>
  </div>
  <div id="lang_form_briefing" class="settings_briefing content">
    <div class="form_row">
 <%= t('settings.lang_change.briefing')%>
    </div>
  </div>
  <div class="content settings_content" id="language_settings_content" style="display:none;">
    <%= form_tag update_all_settings_path, :method => :put, :id => 'form_lang', :remote => false do %>
    <div class="form_row">
 <div class="form_label"><%= label_tag :language, t('settings.lang_change.name') %></div>
 <div class="form_field">
 <%= select_tag(:language, options_for_select(I18n.available_locales.map{|l| [ l.to_s, l.to_s ] }, current_user.language), :class => 'form_tag', :onchange => "$(\'#form_lang\').submit();" )%>
 </div>
    </div>
            <div class="actions center">
                <%= hidden_field_tag :settings_section, :language %>
		<noscript>
                <%= submit_tag "Update Settings", :class => "button" %>
		</noscript>
            </div>
    <% end%>
  </div>
</div>

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
social_stream-0.17.0 base/app/views/settings/_language.html.erb
social_stream-base-0.12.0 app/views/settings/_language.html.erb