Sha256: a675c3a9cfa65b9b0542f30f316b7c185b5847c7ccdfdba09a2e8b12baa5155c

Contents?: true

Size: 633 Bytes

Versions: 17

Compression:

Stored size: 633 Bytes

Contents

<%= content_tag component.tag_name, component.html_options do %>
  <%= link_to 'javascript:;', class: 'link-prev link-prev-year', title: component.t(:prev_year) do %>
    <%= tao_icon :arrow_left %>
  <% end %>
  <%= link_to 'javascript:;', class: 'link-next link-next-year', title: component.t(:next_year) do %>
    <%= tao_icon :arrow_right %>
  <% end %>

  <div class="month-list">
    <% I18n.t('date.abbr_month_names').each_with_index do |month_name, index| %>
      <% if index > 0 %>
        <%= link_to month_name, 'javascript:;', class: 'month', data: {month: index - 1} %>
      <% end %>
    <% end %>
  </div>
<% end %>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
tao_form-1.0.0.beta.2 lib/views/components/tao_form/components/moment_picker/segments/_month_segment.html.erb
tao_form-1.0.0.beta.1 lib/views/components/tao_form/components/moment_picker/segments/_month_segment.html.erb
tao_form-0.2.3 lib/views/components/tao_form/components/moment_picker/segments/_month_segment.html.erb
tao_form-0.2.2 lib/views/components/tao_form/components/moment_picker/segments/_month_segment.html.erb
tao_form-0.2.1 lib/views/components/tao_form/components/moment_picker/segments/_month_segment.html.erb
tao_form-0.2.0 lib/views/components/tao_form/components/moment_picker/segments/_month_segment.html.erb
tao_form-0.1.10 lib/views/components/tao_form/components/moment_picker/segments/_month_segment.html.erb
tao_form-0.1.9 lib/views/components/tao_form/components/moment_picker/segments/_month_segment.html.erb
tao_form-0.1.8 lib/views/components/tao_form/components/moment_picker/segments/_month_segment.html.erb
tao_form-0.1.7 lib/views/components/tao_form/components/moment_picker/segments/_month_segment.html.erb
tao_form-0.1.6 lib/views/components/tao_form/components/moment_picker/segments/_month_segment.html.erb
tao_form-0.1.5 lib/views/components/tao_form/components/moment_picker/segments/_month_segment.html.erb
tao_form-0.1.4 lib/views/components/tao_form/components/moment_picker/segments/_month_segment.html.erb
tao_form-0.1.3 lib/views/components/tao_form/components/moment_picker/segments/_month_segment.html.erb
tao_form-0.1.2 lib/views/components/tao_form/components/moment_picker/segments/_month_segment.html.erb
tao_form-0.1.1 lib/views/components/tao_form/components/moment_picker/segments/_month_segment.html.erb
tao_form-0.1.0 lib/views/components/tao_form/components/moment_picker/segments/_month_segment.html.erb