<%=h pluralize(Recipe.count, 'Recipe')%> listed <% if @recipes.empty? %>
No recipes configured yet.
Recipes are custom Capistrano tasks and variables that can be used across stages.
<% else %> <% for recipe in @recipes %> <% if current_user.admin? %> <% end %> <% end %>
Name Description #Stages Created At
<%= link_to h(recipe.name), recipe_path(recipe) %> <%=h recipe.description %> <%=h recipe.stages.count %> <%=h recipe.created_at.to_s(:date_with_day) rescue nil %><%= link_to 'Edit', edit_recipe_path(recipe) %> <%= link_to 'Delete', recipe_path(recipe), :confirm => 'Are you sure?', :method => :delete %>
<% end %> <% if current_user.admin? %>
<%= link_to 'New recipe', new_recipe_path, :class => 'arrow_link' %> <% end %>
<% content_for(:breadcrumb) do %> <% breadcrumb_box do %> <%= link_to "Recipes", recipes_path %> <% end %> <% end %> <% content_for(:page_title) do %> <% @page_title = "Recipes" %>

Recipes

<% end %>