Sha256: a03e686a97a14a907b0ea0aa6b963a40790eaa07210651754aaa6b1a2dca462b

Contents?: true

Size: 637 Bytes

Versions: 1

Compression:

Stored size: 637 Bytes

Contents

= form_for(@message_type) do |f|
  - if @message_type.errors.any?
    #error_explanation
      %h2
        = pluralize(@message_type.errors.count, "error")
        prohibited this message_type from being saved:

      %ul
        - @message_type.errors.full_messages.each do |msg|
          %li
            = msg
            
  .field
    = f.label :application_id
    %br
    = f.collection_select :application_id, Application.all(:order => "name asc"), :id, :name
  
  .field
    = f.label :name
    %br
    = f.text_field :name
  
  .field
    = f.label :description
    %br
    = f.text_area :description
  
  .actions
    = f.submit

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
eventbus-0.0.20 admin/app/views/message_types/_form.html.haml