Sha256: 0ca02d3b9e4dd5b0e1df4377ac3514fce8839ff1ff6020e5f52717333b8dc0eb

Contents?: true

Size: 711 Bytes

Versions: 5

Compression:

Stored size: 711 Bytes

Contents

<%= content_tag :div,
  class: datetime_editor.css_classes,
  data: datetime_editor.data_attributes do %>
  <%= element_form.fields_for(:ingredients, datetime_editor.ingredient) do |f| %>
    <%= ingredient_label(datetime_editor) %>
    <div class="input-field">
      <%= alchemy_datepicker(
        datetime_editor, :value, {
          name: datetime_editor.form_field_name,
          id: datetime_editor.form_field_id,
          value: datetime_editor.value,
          type: datetime_editor.settings[:input_type]
        }
      ) %>
      <label for="<%= datetime_editor.form_field_id %>" class="ingredient-date--label">
        <%= render_icon "calendar" %>
      </label>
    </div>
  <% end %>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
alchemy_cms-7.3.4 app/views/alchemy/ingredients/_datetime_editor.html.erb
alchemy_cms-7.3.3 app/views/alchemy/ingredients/_datetime_editor.html.erb
alchemy_cms-7.3.2 app/views/alchemy/ingredients/_datetime_editor.html.erb
alchemy_cms-7.3.1 app/views/alchemy/ingredients/_datetime_editor.html.erb
alchemy_cms-7.3.0 app/views/alchemy/ingredients/_datetime_editor.html.erb