EagerELK/ditty

View on GitHub
lib/ditty/templates/views/edit.haml.tt

Summary

Maintainability
Test Coverage
.row
  .col-md-2
  .col-md-8
    .card.card-default.shadow
      .card-body
        = edit_form_tag "#{base_path}/#{entity.display_id}" do
          = haml :'<%= model_name.pluralize.underscore %>/form', locals: { entity: entity }
          %button.btn.btn-primary{ type: 'submit' }
            Update <%= model_name %>
  .col-md-2