Sha256: f81efd40512fe09514072a0896074285a449e8bca96c520d47a64b21a81fbba1

Contents?: true

Size: 1.12 KB

Versions: 1

Compression:

Stored size: 1.12 KB

Contents

-# provides attribute fields common to all layers
-# local: form_block
%fieldset
  %legend
    Name and Size
  .control-group
    = form_block.label :name, class: 'control-label'
    .controls
      = form_block.text_field :name, autofocus: true
      %span.help-inline (must be valid CSS ID)

  .control-group
    = form_block.label :width, class: 'control-label'
    .controls
      .input-append
        = form_block.text_field :width_percent
        %span.add-on %

  .control-group
    = form_block.label :height, class: 'control-label'
    .controls
      .input-append
        = form_block.text_field :height_percent
        %span.add-on %

  .control-group
    = form_block.label :z_index, class: 'control-label'
    .controls
      = form_block.text_field :z_index

  .control-group
    = form_block.label :dom_remove, 'Hide at end', class: 'control-label'
    .controls
      = form_block.check_box :dom_remove
      %span.help-inline If selected, removes layer from view at end of scroll.

  .control-group
    = form_block.label :active, 'Active', class: 'control-label'
    .controls
      = form_block.check_box :active

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
flms-0.1.0 app/views/flms/layers/_common_fields.html.haml