Sha256: faf2fca1b536d21b45319bc665ba65023d5208041afc54bafa280c77bd4c4bfc

Contents?: true

Size: 547 Bytes

Versions: 3

Compression:

Stored size: 547 Bytes

Contents

= semantic_form_for 'options', { html: { style: 'width:600px' } } do |f|

  .mercury-modal-pane-container
    .mercury-modal-pane

      = f.inputs do
        = f.input :first_name, required: false, label: 'First Name'

      = f.inputs 'Options' do
        = f.input :favorite_beer, as: :select, required: false, label: 'Favorite Beer', include_blank: false,
                  collection: [['Miller Lite', 'miller_lite'], ['PBR', 'pbr'], ['Coors', 'coors']]

  .mercury-modal-controls

    = f.buttons do
      = f.commit_button 'Insert Snippet'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mercury-rails-0.1.2 app/views/mercury/snippets/example_options.html.haml
mercury-rails-0.1.1 app/views/mercury/snippets/example_options.html.haml
mercury-rails-0.1.0 app/views/mercury/snippets/example_options.html.haml