Sha256: eabf46543683f40d1a29b4aea2d6ef090fef40aaa85a2d8a875ef1c49f6627e6

Contents?: true

Size: 461 Bytes

Versions: 3

Compression:

Stored size: 461 Bytes

Contents

.actions
  - if flyboy.goal_path(goal) != request.path
    = read_button goal_path(goal)

  - if can?(:create, goal.tasks.new)
    = create_button new_goal_task_path(goal), text: t("actions.goals.new_task")

  - if can?(:update, goal)
    = update_button edit_goal_path(goal)

  - if can?(:close, goal)
    = lock_button close_goal_path(goal), text: t("actions.close")

  - if can?(:open, goal)
    = unlock_button open_goal_path(goal), text: t("actions.open")

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
flyboy-1.0.7 app/views/flyboy/goals/_actions.html.slim
flyboy-1.0.6 app/views/flyboy/goals/_actions.html.slim
flyboy-1.0.5 app/views/flyboy/goals/_actions.html.slim