Sha256: 555364acac864a5f57afbc0e96abf0d59013a5c314d3b683e1764eb91c931213

Contents?: true

Size: 362 Bytes

Versions: 12

Compression:

Stored size: 362 Bytes

Contents

<% topic = form.object.respond_to?(:topic) ? form.object.topic : form.object %>
<% if policy(topic).moderate? %>
  <li class="thredded--form-list--admin-options">
    <%= form.label :locked do %>
      <%= form.check_box :locked %> Locked
    <% end %>

    <%= form.label :sticky do %>
      <%= form.check_box :sticky %> Sticky
    <% end %>
  </li>
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
thredded-0.8.2 app/views/thredded/topics/_topic_form_admin_options.html.erb
thredded-0.7.0 app/views/thredded/topics/_topic_form_admin_options.html.erb
thredded-0.6.3 app/views/thredded/topics/_topic_form_admin_options.html.erb
thredded-0.6.2 app/views/thredded/topics/_topic_form_admin_options.html.erb
thredded-0.6.1 app/views/thredded/topics/_topic_form_admin_options.html.erb
thredded-0.6.0 app/views/thredded/topics/_topic_form_admin_options.html.erb
thredded-0.5.1 app/views/thredded/topics/_topic_form_admin_options.html.erb
thredded-0.5.0 app/views/thredded/topics/_topic_form_admin_options.html.erb
thredded-0.4.0 app/views/thredded/topics/_topic_form_admin_options.html.erb
thredded-0.3.2 app/views/thredded/topics/_topic_form_admin_options.html.erb
thredded-0.3.1 app/views/thredded/topics/_topic_form_admin_options.html.erb
thredded-0.3.0 app/views/thredded/topics/_topic_form_admin_options.html.erb