In general, we always use relative URLs (using `_path`), but sometimes we were accidentally using absolute URLs (using `_url`). It's been reported i might cause some isuses if accepting both HTTP and HTTPS connections, although we've never seen the case. In any case, this change makes the code more consistent and makes the generated HTML cleaner.
11 lines
267 B
Plaintext
11 lines
267 B
Plaintext
<div class="proposal-form row">
|
|
|
|
<div class="small-12 column">
|
|
<%= back_link_to %>
|
|
|
|
<h1><%= t("proposals.new.start_new") %></h1>
|
|
|
|
<%= render "legislation/proposals/form", form_url: legislation_process_proposals_path, id: @proposal.id %>
|
|
</div>
|
|
</div>
|