fatfreecrm/fat_free_crm

View on GitHub
app/views/admin/tags/_new.html.haml

Summary

Maintainability
Test Coverage
- path = new_admin_tag_path

= form_for([:admin, @tag], html: one_submit_only, remote: true) do |f|
  = link_to_close path
  = f.error_messages
  = render partial: "top_section", locals: { f: f }
  .buttonbar
    = f.submit t(:create_tag), id: :tag_submit
    or
    = link_to_cancel path