Unsere Instruktoren

<% @instructors.each do |instructor| %> <% if instructor.avatar.attached? %>
<%= render 'shared/instructor-edit', instructor: instructor %>
<%= render 'shared/instructor-avatar', instructor: instructor %>
<% else %>
<%= render 'shared/instructor-edit', instructor: instructor %>
<%= render 'shared/instructor-avatar', instructor: instructor %>
<% end %> <% end %>