Sha256: dbfd420655bc22e761966ffab06b93452dba121be3b4a5251522e410f5259f64
Contents?: true
Size: 661 Bytes
Versions: 1
Compression:
Stored size: 661 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? :admin, 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
thredded-0.0.12 | app/views/thredded/topics/_topic_form.html.erb |