Sha256: 2646dafe007a4cac79f1673982a7b8849e411f40b3c3e5be89e2159d2c1a42ad

Contents?: true

Size: 589 Bytes

Versions: 4

Compression:

Stored size: 589 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
      }
    ) %>
  <% end %>
  <label for="<%= datetime_editor.form_field_id %>" class="ingredient-date--label">
    <%= render_icon "calendar" %>
  </label>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alchemy_cms-7.2.4 app/views/alchemy/ingredients/_datetime_editor.html.erb
alchemy_cms-7.2.3 app/views/alchemy/ingredients/_datetime_editor.html.erb
alchemy_cms-7.2.2 app/views/alchemy/ingredients/_datetime_editor.html.erb
alchemy_cms-7.2.1 app/views/alchemy/ingredients/_datetime_editor.html.erb