<div class="EditList">
  <h3 class="EditList__heading">How do we learn and build?</h3>
  <ul class="EditList__items">
    <% @lesson_obj.steps.each_with_index do |step, index| %>
    <li class="EditList__item">
      <div class="EditList__content">
        <div class="EditList__number">
          Step <%= index + 1 %>
        </div>
        <div class="EditList__duration">
          <%= distance_of_time_in_words(step.duration * 60) %>
        </div>
        <div class="EditList__title">
          Title attribute for step required
        </div>
        <%= link_to "Edit step", edit_lesson_step_path(id: step.id, lesson_id: @lesson_obj.id, form_step: @form_step), class: 'EditList__edit' %>
        <% if @lesson_obj.steps.count >= 2 %>
        <%= link_to '<span>Remove</span>'.html_safe, lesson_step_path(id: step.id, lesson_id: @lesson_obj.id, form_step: @form_step), method: :delete, confirm: "Are you sure?", class: 'EditList__remove' %>
        <% end %>
      </div>
    </li>
    <% end %>
  </ul>
  <div class="EditList__actions">
    <%= link_to "+ Add a new step", new_lesson_step_path(lesson_id: @lesson_obj.id, form_step: @form_step) %>
  </div>
</div>

<div class="EditList">
  <h3 class="EditList__heading">How do we learn and build?</h3>
  <ul class="EditList__items">
    <% @lesson_obj.steps.each_with_index do |step, index| %>
    <li class="EditList__item">
      <div class="EditList__content">
        <div class="EditList__number">
          Step <%= index + 1 %>
        </div>
        <div class="EditList__duration">
          <%= distance_of_time_in_words(step.duration * 60) %>
        </div>
        <div class="EditList__title">
          <%= step.name %>
        </div>
        <%= link_to "Edit step", edit_lesson_step_path(id: step.id, lesson_id: @lesson_obj.id, form_step: @form_step), class: 'EditList__edit' %>
        <% if @lesson_obj.steps.count >= 2 %>
        <%= link_to '<span>Remove</span>'.html_safe, lesson_step_path(id: step.id, lesson_id: @lesson_obj.id, form_step: @form_step), method: :delete, confirm: "Are you sure?", class: 'EditList__remove' %>
        <% end %>
      </div>
    </li>
    <% end %>
  </ul>
  <div class="EditList__actions">
    <%= link_to "+ Add a new step", new_lesson_step_path(lesson_id: @lesson_obj.id, form_step: @form_step) %>
  </div>
</div>

Use step.name in step list
Use step.name in step list
