Sha256: e3c051d3a3772dc5951f060741de3afef4a3a57ada7bfec0f702a0affd1c6f2c
Contents?: true
Size: 662 Bytes
Versions: 9
Compression:
Stored size: 662 Bytes
Contents
<% if messageboard.categories.any? %> <li class="category"> <%= form.select :category_ids, messageboard.category_options, {}, { multiple: true, 'data-placeholder' => 'Categories' } %> </li> <% end %> <% if can? :manage, form.object %> <li class="locked"> <%= form.label :locked do %> Locked <%= form.check_box :locked %> <% end %> </li> <li class="sticky"> <%= form.label :sticky do %> Sticky <%= form.check_box :sticky %> <% end %> </li> <% end %> <% if action_name != 'edit' %> <%= form.fields_for :posts do |post_form| %> <%= render 'thredded/posts/form', f: post_form %> <% end %> <% end %>
Version data entries
9 entries across 9 versions & 1 rubygems