Sha256: 1329a9992e50cb98d98cc19e68e0251a654817156fc48cb7ce0ed4e4c3b7367c

Contents?: true

Size: 760 Bytes

Versions: 1

Compression:

Stored size: 760 Bytes

Contents

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

      %ul
        - @message_route.errors.full_messages.each do |msg|
          %li
            = msg

  .field
    = f.label :message_type_id
    %br
    = f.collection_select :message_type_id, MessageType.all(:order => "name asc"), :id, :name
  .field
    = f.label :incoming_status
    %br
    = f.text_field :incoming_status
  .field
    = f.label :match_errors
    (Overrides incoming status)
    %br
    = f.check_box :match_errors
  .field
    = f.label :dispatch_to
    %br
    = f.text_field :dispatch_to 
  .actions
    = f.submit

Version data entries

1 entries across 1 versions & 1 rubygems

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