<% provide :title do %><%= @process.title %><% end %>

<%= render 'legislation/processes/header', process: @process, header: :full %>

<%= render 'key_dates', process: @process, phase: :proposals %>

<div class="row">
  <div class="debate-chooser">
    <div class="row">
      <div class="small-12 medium-9 column">
        <div class="legislation-proposals">
          <% if @process.proposals.empty? %>
            <div class="callout primary">
              <p><%= t('.empty_proposals') %></p>
            </div>
          <% else %>
            <%= render @process.proposals %>
          <% end %>
        </div>
      </div>

      <div class="small-12 medium-3 column">
        <% if @process.proposals_phase.open? %>
          <% if @process.id == 24 %>
            <p><%= link_to t("proposals.index.start_proposal_question"), new_legislation_process_proposal_path(@process), class: 'button expanded' %></p>
          <% else %>
            <p><%= link_to t("proposals.index.start_proposal"), new_legislation_process_proposal_path(@process), class: 'button expanded' %></p>
          <% end %>
        <% end %>
        <%= render 'legislation/proposals/categories', taggable: @process %>
      </div>
    </div>
  </div>
</div>

<% provide :title do %><%= @process.title %><% end %>

<%= render 'legislation/processes/header', process: @process, header: :full %>

<%= render 'key_dates', process: @process, phase: :proposals %>

<div class="row">
  <div class="debate-chooser">
    <div class="row">
      <div class="small-12 medium-9 column">
        <div class="legislation-proposals">
          <% if @process.proposals.empty? %>
            <div class="callout primary">
              <p><%= t('.empty_proposals') %></p>
            </div>
          <% else %>
            <%= render @process.proposals %>
          <% end %>
        </div>
      </div>

      <div class="small-12 medium-3 column">
        <% if @process.proposals_phase.open? %>
          <% if @process.id == 24 %>
            <p><%= link_to t("proposals.index.start_proposal_question"),
                            (user_signed_in? ? new_legislation_process_proposal_path(@process) : new_user_session_path),
                            class: 'button expanded', id: 'create-new-proposal' %></p>
          <% else %>
            <p><%= link_to t("proposals.index.start_proposal"),
                            (user_signed_in? ? new_legislation_process_proposal_path(@process) : new_user_session_path),
                            class: 'button expanded', id: 'create-new-proposal' %></p>
          <% end %>
        <% end %>
        <%= render 'legislation/proposals/categories', taggable: @process %>
      </div>
    </div>
  </div>
</div>

Create proposal button redirects to login if user is not logged in
Create proposal button redirects to login if user is not logged in
