Sha256: ba2650ed01cdfb028f6029b6646b5c0080d33c32975efd69b6ffd6244d2f3c51
Contents?: true
Size: 1.1 KB
Versions: 1
Compression:
Stored size: 1.1 KB
Contents
<% if policy(Page).new? %> <h2> New entry </h2> <p> <%= form_tag new_admin_page_path, method: :get do %> In <%= select_tag("parent", calendar_page_options(locale)) %> <button type="submit"> Go </button> <% end %> </p> <% end %> <div class="archive-index"> <% calendar_years_with_count.each do |year, year_count| %> <h2> <%= link_to_unless_current( year, admin_calendar_path(locale, year: year) ) %> <span class="count"> (<%= year_count %>) </span> </h2> <ul> <% calendar_months_count(year).each do |month, month_count| %> <li> <% if year == @year && month == @month %> <strong> <%= month_name(month) %> </strong> <% else %> <%= link_to_unless_current( month_name(month), admin_calendar_path(locale, month: month, year: year) ) %> <% end %> <span class="count"> (<%= month_count %>) </span> </li> <% end %> </ul> <% end %> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pages_core-3.12.1 | app/views/admin/calendars/_sidebar.html.erb |