style buttons for upload/post edit pages

This commit is contained in:
r888888888
2017-09-14 16:56:40 -07:00
parent 5448ae5af4
commit 0985f929cc
10 changed files with 65 additions and 24 deletions

View File

@@ -49,8 +49,8 @@
</section>
<div class="fav-buttons">
<%= button_to "Favorite", favorites_path(post_id: @post.id), remote: true, method: :post, form: {id: "add-fav-button"} %>
<%= button_to "Unfavorite", favorite_path(@post), remote: true, method: :delete, form: {id: "remove-fav-button"} %>
<%= button_to "Favorite", favorites_path(post_id: @post.id), remote: true, method: :post, form: {id: "add-fav-button"}, class: "ui-button ui-widget ui-corner-all gradient" %>
<%= button_to "Unfavorite", favorite_path(@post), remote: true, method: :delete, form: {id: "remove-fav-button"}, class: "ui-button ui-widget ui-corner-all gradient" %>
</div>
<section id="mark-as-translated-section" style="display: none;">