unclesp1d3r/CipherSwarm

View on GitHub
app/views/attacks/_dictionary_form.html.erb

Summary

Maintainability
Test Coverage
<%# locals: (form:, attack:) -%>
<%= field_set_tag "Dictionary & Rules", id: "dictionary_attack_set" do %>
  <%= form.association :word_list, include_blank: false, collection: @word_lists,
                                   hint: "Select a provided word list to use for the attack." %>
  <%= form.association :rule_list, collection: @rule_lists,
                                   hint: "Select a provided rule list to use for the attack. Optional." %>
<% end %>