Sha256: e27f1fe1104d7ccf8cb5208e67f5179594daf9dcede8d69a221f2e2ebcf22dd3

Contents?: true

Size: 639 Bytes

Versions: 11

Compression:

Stored size: 639 Bytes

Contents

<ol id="<%= config_list_ol_id %>" class="form sortable-container">
<%  hidden_columns =  if !config_list_params.nil? && config_list_params.is_a?(Array)
      config_list = config_list_params
      active_scaffold_config.list.columns.collect_visible.select{|column| config_list.exclude? column.name}
    else
      []
    end %>
<% list_columns.concat(hidden_columns).each do |c| %>
  <li class="form-element sortable">
    <%= check_box_tag 'config_list[]', c.name.to_s, (config_list_params.nil? ? true : config_list_params.include?(c.name)), {:id => nil}%>
    <label for="update_table_from"><%= c.label%></label>
  </li>
<% end %>
</ol>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
active_scaffold_config_list-3.2.9 app/views/active_scaffold_overrides/_show_config_list_form_body.html.erb
active_scaffold_config_list-3.2.8 app/views/active_scaffold_overrides/_show_config_list_form_body.html.erb
active_scaffold_config_list-3.2.7 app/views/active_scaffold_overrides/_show_config_list_form_body.html.erb
active_scaffold_config_list-3.2.6 app/views/active_scaffold_overrides/_show_config_list_form_body.html.erb
active_scaffold_config_list-3.2.5 app/views/active_scaffold_overrides/_show_config_list_form_body.html.erb
active_scaffold_config_list-3.2.4 app/views/active_scaffold_overrides/_show_config_list_form_body.html.erb
active_scaffold_config_list-3.2.3 app/views/active_scaffold_overrides/_show_config_list_form_body.html.erb
active_scaffold_config_list-3.2.2.2 app/views/active_scaffold_overrides/_show_config_list_form_body.html.erb
active_scaffold_config_list-3.2.2.1 app/views/active_scaffold_overrides/_show_config_list_form_body.html.erb
active_scaffold_config_list-3.2.2 app/views/active_scaffold_overrides/_show_config_list_form_body.html.erb
active_scaffold_config_list-3.2.1 app/views/active_scaffold_overrides/_show_config_list_form_body.html.erb