Sha256: 2cfa2eff0fd7fcac5453074a16080320023f56b3a72181878de27544c07b2f6d

Contents?: true

Size: 804 Bytes

Versions: 53

Compression:

Stored size: 804 Bytes

Contents

<%- @scope_picker_prompt = capture do %>
  <div class="picker-prompt"><a href="<%= prompt_params[:url] %>" role="button" aria-label="<%= t(".select_scope", current: prompt_params[:text]) %>"><%= prompt_params[:text] %></a></div>
<% end %>

<%- @scope_picker_values = capture do %>
  <div class="picker-values"><%- scopes.each do |scope, params| %>
    <div><a href="<%= params[:url] %>" data-picker-value="<%= scope.id %>"><%= params[:text] %></a></div>
  <% end %></div>
<% end %>

<div id="<%= picker_options[:id] %>" class="data-picker <%= picker_options[:class] %>" data-picker-name="<%= picker_options[:name] %>">
  <% if values_on_top %>
    <%= @scope_picker_values %>
    <%= @scope_picker_prompt %>
  <% else %>
    <%= @scope_picker_prompt %>
    <%= @scope_picker_values %>
  <% end %>
</div>

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
decidim-core-0.27.2 app/views/decidim/scopes/_scopes_picker_input.html.erb
decidim-core-0.27.1 app/views/decidim/scopes/_scopes_picker_input.html.erb
decidim-core-0.26.4 app/views/decidim/scopes/_scopes_picker_input.html.erb
decidim-core-0.27.0 app/views/decidim/scopes/_scopes_picker_input.html.erb
decidim-core-0.26.3 app/views/decidim/scopes/_scopes_picker_input.html.erb
decidim-core-0.27.0.rc2 app/views/decidim/scopes/_scopes_picker_input.html.erb
decidim-core-0.27.0.rc1 app/views/decidim/scopes/_scopes_picker_input.html.erb
decidim-core-0.26.2 app/views/decidim/scopes/_scopes_picker_input.html.erb
decidim-core-0.26.1 app/views/decidim/scopes/_scopes_picker_input.html.erb
decidim-core-0.26.0 app/views/decidim/scopes/_scopes_picker_input.html.erb
decidim-core-0.26.0.rc2 app/views/decidim/scopes/_scopes_picker_input.html.erb
decidim-core-0.26.0.rc1 app/views/decidim/scopes/_scopes_picker_input.html.erb
decidim-core-0.25.2 app/views/decidim/scopes/_scopes_picker_input.html.erb
decidim-core-0.25.1 app/views/decidim/scopes/_scopes_picker_input.html.erb
decidim-core-0.25.0 app/views/decidim/scopes/_scopes_picker_input.html.erb
decidim-core-0.25.0.rc4 app/views/decidim/scopes/_scopes_picker_input.html.erb
decidim-core-0.25.0.rc3 app/views/decidim/scopes/_scopes_picker_input.html.erb
decidim-core-0.25.0.rc2 app/views/decidim/scopes/_scopes_picker_input.html.erb
decidim-core-0.25.0.rc1 app/views/decidim/scopes/_scopes_picker_input.html.erb
decidim-core-0.24.3 app/views/decidim/scopes/_scopes_picker_input.html.erb