Sha256: cbb835836594fc160856e330857c7d1aa23202f7b656cd691f8ba8e9400ddbeb

Contents?: true

Size: 1.07 KB

Versions: 23

Compression:

Stored size: 1.07 KB

Contents

= render_region :form_top

.form-area
  - render_region :form do |formpart|
    - formpart.edit_subject do
      %p.title
        = form.label :subject, "Message Subject"
        = form.text_field :subject, :class => 'textbox', :maxlength => 255
        - if @message.new_record?
          = form.hidden_field :function_id

    - formpart.edit_body do
      %div.body
        %p
          %span.filter
            = form.label :filter_id, "Filter:"
            = form.select :filter_id, TextFilter.descendants.map { |tf| tf.filter_name }.sort, :id => 'message_filter', :include_blank => true
          = form.label :body, "Message Body"
          = form.text_area :body, :class => 'textarea', :style => 'width: 100%'

      = render_region :body_bottom, :locals => {:form => form}

- render_region :form_bottom do |form_bottom|
  - form_bottom.edit_timestamp do
    = updated_stamp @message  
  - form_bottom.edit_buttons do
    %p.buttons
      = save_model_button(@message)
      = save_model_and_continue_editing_button(@message)
      or
      = link_to "cancel", admin_reader_configuration_url

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
radiant-reader-extension-3.0.0.rc3 app/views/admin/messages/_form.html.haml
radiant-reader-extension-2.0.0.rc4 app/views/admin/messages/_form.html.haml
radiant-reader-extension-1.3.13 app/views/admin/messages/_form.html.haml
radiant-reader-extension-1.3.12 app/views/admin/messages/_form.html.haml
radiant-reader-extension-1.3.11 app/views/admin/messages/_form.html.haml
radiant-reader-extension-1.3.10 app/views/admin/messages/_form.html.haml
radiant-reader-extension-1.3.9 app/views/admin/messages/_form.html.haml
radiant-reader-extension-1.3.8 app/views/admin/messages/_form.html.haml
radiant-reader-extension-1.3.7 app/views/admin/messages/_form.html.haml
radiant-reader-extension-1.3.6 app/views/admin/messages/_form.html.haml
radiant-reader-extension-1.3.4 app/views/admin/messages/_form.html.haml
radiant-reader-extension-1.3.3 app/views/admin/messages/_form.html.haml
radiant-reader-extension-1.3.1 app/views/admin/messages/_form.html.haml
radiant-reader-extension-1.3.0 app/views/admin/messages/_form.html.haml
radiant-reader-extension-1.2.4 app/views/admin/messages/_form.html.haml
radiant-reader-extension-1.2.3 app/views/admin/messages/_form.html.haml
radiant-reader-extension-1.2.2 app/views/admin/messages/_form.html.haml
radiant-reader-extension-1.2.1 app/views/admin/messages/_form.html.haml
radiant-reader-extension-1.2.0 app/views/admin/messages/_form.html.haml
radiant-reader-extension-1.1.1 app/views/admin/messages/_form.html.haml