Sha256: 551e7eb49b558ba5d4c9fe1449415e5b3fb56c368dfe6422035aa5925651416d

Contents?: true

Size: 952 Bytes

Versions: 3

Compression:

Stored size: 952 Bytes

Contents

<%= scrivito_large_dialog do %>
  <%= scrivito_details_for 'Height' do %>
    <%= scrivito_tag :div, widget, :height, data: {
      toggle_button_list: ['200px','300px','400px','500px', '50vh', '100vh'],
      toggle_button_caption: {
        '200px': 'small',
        '300px': 'default',
        '400px': 'large',
        '500px': 'extra large',
        '50vh': 'half screen',
        '100vh': 'full screen'
      }
    } %>

    <h5>Use a different value<small>As css value. E.g. 100px, 70%, 33vh, ...</small></h5>
    <%= scrivito_tag :div, widget, :height %>
  <% end %>

  <%= scrivito_details_for "Interval" do %>
    <%= scrivito_tag(:div, widget, :interval, data: {
      scrivito_editors_min: 1000,
      scrivito_editors_max: 10000,
      scrivito_editors_step: 1,
      scrivito_editors_allow_delete: false,
    }) %>
  <% end %>

  <%= scrivito_details_for "Panels" do %>
    <%= scrivito_tag :div, widget, :panels %>
  <% end %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
scrivito_elastic_slider_widget-0.93.3 app/views/elastic_slider_widget/details.html.erb
scrivito_elastic_slider_widget-0.93.2 app/views/elastic_slider_widget/details.html.erb
scrivito_elastic_slider_widget-0.93.1 app/views/elastic_slider_widget/details.html.erb