diff options
Diffstat (limited to 'app/views/forums/edit.html.erb')
-rw-r--r-- | app/views/forums/edit.html.erb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/forums/edit.html.erb b/app/views/forums/edit.html.erb index 60b3fb1..571b3b7 100644 --- a/app/views/forums/edit.html.erb +++ b/app/views/forums/edit.html.erb @@ -21,8 +21,12 @@ <td><%= f.label :role_write_id, "Min. write role" %></td> <td><%= f.select :role_write_id, role_selection, include_blank: false %></td> </tr> + <tr> + <td><%= f.label :necro_length, "Necropost warning delay (in days)" %></td> + <td><%= f.number_field :necro_length, placeholder: "Warning Delay (leave blank for no warning)" %></td> + </tr> </table> <p><%= f.submit "Update forum", class: "btn blue left" %></p> <% end %> <p><%= button_to "Delete forum", @forum, method: "delete", data: {confirm: "Delete forum forever?\nThreads won't be accessible!"}, class: "btn red right" %></p> -<div class="clear"></div>
\ No newline at end of file +<div class="clear"></div> |