Sha256: 14ce9234655392c080a18aef8782897bcc0a51181a2a2666530c08ba47cad56c

Contents?: true

Size: 586 Bytes

Versions: 4

Compression:

Stored size: 586 Bytes

Contents

:javascript
  $(function() {
    $( ".new_whurl_engine_category, .edit_whurl_engine_category" ).dialog(
      {
        modal: true,
        autoOpen: false,
        title: 'Manage Categories',
        minWidth: 375,
        minHeight: 300,
        close: function(event, ui) {
          $(this).remove();
        }
      });
  });

= form_for category, :remote => true do |f|
  %div
    = f.label :name
    = f.text_field :name, :placeholder => 'eg. Users, Projects, Tweets, etc.'
  %div
    = f.label :description
  %div
    = f.text_area :description
  = f.submit :value => 'Submit'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
whurl_engine-2.1.0 app/views/whurl_engine/categories/_form.html.haml
whurl_engine-2.0.1 app/views/whurl_engine/categories/_form.html.haml
whurl_engine-2.0.0 app/views/whurl_engine/categories/_form.html.haml
whurl_engine-2.0.0.rc1 app/views/whurl_engine/categories/_form.html.haml