Sha256: 506ee7537fc732bb8c15bd12d2d2d1db0fc4992b0d667ab4c9e69523b5a26e5f

Contents?: true

Size: 786 Bytes

Versions: 1

Compression:

Stored size: 786 Bytes

Contents

<% f.inputs I18n.t('active_admin.articles.index.views.inputs'), :class => "foldable inputs" do %>
  <% f.input :article_for_index_id, label: I18n.t('active_admin.articles.index.views.label1'), :hint => I18n.t('active_admin.articles.index.views.hint1'), :as => :select, :collection => Goldencobra::Article.all.map{|c| ["#{c.path.map(&:title).join(" / ")}", c.id]}.sort{|a,b| a[0] <=> b[0]}, :include_blank => "/", id: "article_event_articleindex_id", :input_html => { :class => 'chzn-select', :style => 'width: 70%;' } %>
  <% f.input :display_index_types, :label => I18n.t('active_admin.articles.index.views.label2'), :hint => I18n.t('active_admin.articles.index.views.hint2'), :as => :select, :collection => Goldencobra::Article::DisplayIndexTypes, :include_blank => false %>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
goldencobra-1.4.27 app/views/goldencobra/admin/articles/_articles_index.html.erb