Sha256: 28b45a7d8cc57509b0e499cb3cb1140f70a6105c3e536b28cb05912f6c4ef294

Contents?: true

Size: 476 Bytes

Versions: 1

Compression:

Stored size: 476 Bytes

Contents

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

  - if can?(:create, goal.tasks.new)
    = create_button new_task_path(taskable_guid: goal.guid), 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

1 entries across 1 versions & 1 rubygems

Version Path
flyboy-1.1.0 app/views/flyboy/goals/_actions.html.slim