Sha256: 32026e652e7d5440904d88472ec041afbf65b19d4585da6916ecbf7fa22cebfd

Contents?: true

Size: 656 Bytes

Versions: 2

Compression:

Stored size: 656 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) %>
    <%= 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]
      }
    ) %>
  <% end %>
  <label for="<%= datetime_editor.form_field_id %>" class="ingredient-date--label">
    <i class="icon ri-calendar-line ri-fw"></i>
  </label>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
alchemy_cms-7.1.13 app/views/alchemy/ingredients/_datetime_editor.html.erb
alchemy_cms-7.1.12 app/views/alchemy/ingredients/_datetime_editor.html.erb