{{define "title"}}{{copy "playbooks.title"}}{{end}} {{define "up"}}/playbooks{{end}} {{define "content"}}

{{if .Library.SuggestionID}}{{copy "playbooks.suggested"}}{{else}}{{copy "playbooks.title"}}{{end}}

{{with .Library}}
{{copy "specialists.projects"}}{{range .Projects}}{{end}}

{{copy "playbooks.steps"}}

{{range .PlaybookSteps}}
{{copy (printf "plan.action.%s" .Action)}} {{if .Required}}{{copy "plan.required_step"}}{{else}}{{end}}
{{end}} {{if lt (len .Playbook.Steps) 16}}
{{copy "plan.add_step"}}
{{$i := len .Playbook.Steps}}
{{end}}
{{if .PlaybookEditable}}{{end}}
{{if and .Playbook.ID .PlaybookEditable}}
{{if .Playbook.Template.ID}}{{copy "playbooks.update_available"}}{{end}}{{end}} {{end}}
{{end}}