.container-fluid
  .row
    .col-lg-12.col-md-12.col-sm-12.col-xs-12
      .page-header
        %h1 Ideas

%table
  %tr
    %th
    %th
    %th

  - @admin_ideas.each do |admin_idea|
    %tr
      %td= link_to 'Show', admin_idea
      %td= link_to 'Edit', edit_admin_idea_path(admin_idea)
      %td= link_to 'Destroy', admin_idea, :method => :delete, :data => { :confirm => 'Are you sure?' }

%br

= link_to 'New Idea', new_admin_idea_path

.container-fluid
  .row
    .col-lg-12.col-md-12.col-sm-12.col-xs-12
      .page-header
        %h1 Ideas

%table
  %tr
    %th
    %th
    %th
  .row
    .col-lg-12.col-md-12.col-sm-12.col-xs-12
      .row
        .col-lg-12.col-md-12.col-sm-12.col-xs-12
          %button.btn.btn-success{ 'type' => 'button', 'data-toggle' => 'collapse', 'data-target' => '#new-idea-form' }
            %i.glyphicon.glyphicon-plus
            Create a new Idea

      .row
        .col-lg-12.col-md-12.col-sm-12.col-xs-12
          .collapse.out#new-idea-form
            .page-header
              %h2 New Idea
            = form_for @idea, class: 'form-inline', url: admin_ideas_path do |f|
              = render 'form', :locals => { :f => f }

  - @admin_ideas.each do |admin_idea|
    %tr
      %td= link_to 'Show', admin_idea
      %td= link_to 'Edit', edit_admin_idea_path(admin_idea)
      %td= link_to 'Destroy', admin_idea, :method => :delete, :data => { :confirm => 'Are you sure?' }

%br

= link_to 'New Idea', new_admin_idea_path

Add reveal button/new idea partial in admin idea index
Add reveal button/new idea partial in admin idea index

Allow admins to create Ideas from the index view but only show the
partial when they wish to view it.
