Remove the upvote and downvote modes from the post mode menu. These are unnecessary now since you can use the vote buttons beneath the thumbnails.
16 lines
567 B
Plaintext
16 lines
567 B
Plaintext
<% if policy(Post).can_use_mode_menu? %>
|
|
<section id="mode-box">
|
|
<h2>Mode</h2>
|
|
<form action="/">
|
|
<select name="mode">
|
|
<option value="view">View</option>
|
|
<option value="edit">Edit</option>
|
|
<option value="tag-script">Tag script</option>
|
|
<option value="add-fav">Favorite</option>
|
|
<option value="remove-fav">Unfavorite</option>
|
|
</select>
|
|
</form>
|
|
<input id="tag-script-field" data-autocomplete="tag-edit" placeholder="Enter tag script" style="display: none; margin-top: 0.5em;">
|
|
</section>
|
|
<% end %>
|