Sha256: 0693ad97973dbfa007413f08a5bbc23661736bc0655ada709529220fc95175ee

Contents?: true

Size: 471 Bytes

Versions: 1

Compression:

Stored size: 471 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

1 entries across 1 versions & 1 rubygems

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