fairplaysk/datacamp

View on GitHub
app/views/dataset_categories/_new_quick.html.haml

Summary

Maintainability
Test Coverage
.legacy
  = form_for @category, :builder => ListFormBuilder, :url => categories_path, :html => {:class => "small"} do |f|
    %h1 New category

    %ul
      = f.text_field "#{I18n.locale}_title"
      
      %li
        %label
        = f.submit t("global.submit")
         
        or
        %a{:href => "#", :class => "cancel"}= t("global.nevermind")