unclesp1d3r/CipherSwarm

View on GitHub
app/views/hash_lists/edit.html.erb

Summary

Maintainability
Test Coverage
<%= render Railsboot::HeaderComponent.new do |header| %>
  <% header.with_heading do %>
    <%= title "Edit #{@hash_list.name}" %>
  <% end %>
  <% header.with_breadcrumb.with_items([
       { text: "Dashboard", href: root_path },
       { text: "Hash Lists", href: hash_lists_path },
       { text: @hash_list.name, href: @hash_list },
       { text: "Edit", active: true }
     ]) %>
<% end %>
<%= render "form", hash_list: @hash_list %>