.events-index
  .page-header
    h1
      small.pull-right
        = link_to new_event_path, 'Добавить', class: 'btn btn-success'
        = link_to events_path(format: :ics), title: 'iCalendar feed', class: "color-rosewood no-underline" do
          i.fa.fa-calendar>
        = link_to events_path(format: :atom), title: 'Atom feed', class: "color-rosewood no-underline" do
          i.fa.fa-rss-square<


      = Event.model_name.human(count: 2)

  ul.nav.nav-pills role="tablist"
    li.active role="presentation" class="active"
      a href="#future_events" data-toggle="pill" = t('.future_events')
    li role="presentation"
      a href="#past_events" data-toggle="pill" = t('.past_events')
  br

  .tab-content
    #future_events.tab-pane.active role="tabpanel"
      .events = render @events
    #past_events.tab-pane role="tabpanel"
      .events = render @past_events

.events-index
  .page-header
    h1
      small.pull-right
        a.btn.btn-success> href=new_event_path Добавить
        = link_to events_path(format: :ics), title: 'iCalendar feed', class: "color-rosewood no-underline" do
          i.fa.fa-calendar>
        = link_to events_path(format: :atom), title: 'Atom feed', class: "color-rosewood no-underline" do
          i.fa.fa-rss-square<


      = Event.model_name.human(count: 2)

  ul.nav.nav-pills role="tablist"
    li.active role="presentation" class="active"
      a href="#future_events" data-toggle="pill" = t('.future_events')
    li role="presentation"
      a href="#past_events" data-toggle="pill" = t('.past_events')
  br

  .tab-content
    #future_events.tab-pane.active role="tabpanel"
      .events = render @events
    #past_events.tab-pane role="tabpanel"
      .events = render @past_events

Fix add new event button
Fix add new event button

NNRUG/it52-rails,NNRUG/it52-rails,NNRUG/it52-rails,NNRUG/it52-rails,NNRUG/it52-rails