Skip to content
Browse files

using the bootstrap button styles

  • Loading branch information...
1 parent b87e780 commit f5b989ecbe31958f9321dbdea239f3303bd6cd2a Marc Jeanson committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 app/views/activities/index.html.slim
View
6 app/views/activities/index.html.slim
@@ -3,8 +3,8 @@ table id="activities"
= content_tag_for(:tr, activity) do
td = check_box('activity', 'completed', activity_id: activity.id, checked: activity.completed?)
td = activity.title
- td = link_to t('navigation.start_pomodoro'), activity_pomodoros_path(activity_id: activity), :remote => true, :method => :post
- td = link_to t('navigation.edit_activity'), edit_activity_path(activity)
- td = link_to t('navigation.delete_activity'), activity, :method => :delete
+ td = link_to t('navigation.start_pomodoro'), activity_pomodoros_path(activity_id: activity), remote: true, method: :post, class: "btn success"
+ td = link_to t('navigation.edit_activity'), edit_activity_path(activity), class: "btn primary"
+ td = link_to t('navigation.delete_activity'), activity, :method => :delete, class: "btn danger"
td id=dom_id(activity, :pomodoros)
== render partial: 'pomodoro', collection: activity.pomodoros

0 comments on commit f5b989e

Please sign in to comment.
Something went wrong with that request. Please try again.