<div>
  <h1>
    <%= @chamber %>
  </h1>
</div>

<div>
  <h3>Recent Bills Passed</h3>
  <%= for bill <- @bills_passed do %>
    <p>
      <a href="<%= bill["congressdotgov_url"] %>">
        <%= bill["title"] %>
      </a>
    </p>
  <% end %>
</div>

<div>
  <h3>Members</h3>
  <%= for member <- @members do %>
    <p><%= member["first_name"] %> <%= member["last_name"] %></p>
  <% end %>
</div>
<div>
  <h1>
    <%= @chamber %>
  </h1>
</div>

<div>
  <h3>Recent Bills Passed</h3>
  <%= for bill <- @bills_passed do %>
    <p>
      <a href="<%= bill["congressdotgov_url"] %>">
        <%= bill["title"] %>
      </a>
    </p>
    <p>
      <%= gettext("%{title} %{sponsor_name} (%{party} - %{state})", title: bill["sponsor_title"], sponsor_name: bill["sponsor_name"], party: bill["sponsor_party"] , state: bill["sponsor_state"]) %>
    </p>
  <% end %>
</div>

<div>
  <h3>Recent Bills Introduced</h3>
  <%= for bill <- @bills_introduced do %>
    <p>
      <a href="<%= bill[" congressdotgov_url "] %>">
        <%= bill["title"] %>
      </a>
    </p>
    <% end %>
</div>

<div>
  <h3>Members</h3>
  <%= for member <- @members do %>
    <p><%= member["first_name"] %> <%= member["last_name"] %></p>
  <% end %>
</div>
Interpolate name, title, state and part of bill sponsor
Interpolate name, title, state and part of bill sponsor
