Sha256: 317a6f37cba9aeab71f3bd0e0cfdf55d096b37eba11d69f88d3ae7a06ca09c13

Contents?: true

Size: 1.53 KB

Versions: 3

Compression:

Stored size: 1.53 KB

Contents

<div class="row">
  <div class="columns xlarge-6">
    <%= form.text_field :name %>
  </div>

  <div class="columns xlarge-6">
    <div class="label--tabs">
      <label for="organization_social_handlers">
        <%= t(".social_handlers") %>
      </label>
      <ul class="tabs tabs--lang" data-tabs id="organization_social_handlers">
        <% Decidim::Organization::SOCIAL_HANDLERS.each do |handler| %>
          <li class="tabs-title <% if handler == Decidim::Organization::SOCIAL_HANDLERS.first %> is-active <% end %>">
            <a href="#<%= handler %>" <% if handler == Decidim::Organization::SOCIAL_HANDLERS.first %> aria-selected="true" <% end %>>
              <%= t(".#{handler}") %>
            </a>
          </li>
        <% end %>
      </ul>
    </div>
    <div class="tabs-content" data-tabs-content="organization_social_handlers">
      <% Decidim::Organization::SOCIAL_HANDLERS.each do |handler| %>
        <div class="tabs-panel <% if handler == Decidim::Organization::SOCIAL_HANDLERS.first %> is-active <% end %>" id="<%= handler %>">
          <%= form.text_field "#{handler}_handler", label: false %>
        </div>
      <% end %>
    </div>
  </div>
</div>

<div class="row column">
  <%= form.collection_select :default_locale, localized_locales(current_organization.available_locales), :id, :name %>
</div>

<div class="row">
  <div class="columns xlarge-6">
    <%= form.text_field :reference_prefix %>
  </div>
</div>

<div class="row">
  <div class="columns xlarge-6">
    <%= form.check_box :badges_enabled %>
  </div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-admin-0.15.2 app/views/decidim/admin/organization/_form.html.erb
decidim-admin-0.15.1 app/views/decidim/admin/organization/_form.html.erb
decidim-admin-0.15.0 app/views/decidim/admin/organization/_form.html.erb