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.
25 lines
837 B
Plaintext
25 lines
837 B
Plaintext
<div class="proposal-form row">
|
|
|
|
<div class="small-12 medium-9 column">
|
|
<%= back_link_to %>
|
|
|
|
<h1><%= t("proposals.new.start_new") %></h1>
|
|
<div data-alert class="callout primary">
|
|
<%= link_to help_path(anchor: "proposals"), title: t("shared.target_blank"), target: "_blank" do %>
|
|
<%= t("proposals.new.more_info") %>
|
|
<% end %>
|
|
</div>
|
|
<%= render "proposals/form", form_url: proposals_path %>
|
|
</div>
|
|
|
|
<div class="small-12 medium-3 column">
|
|
<span class="icon-proposals float-right"></span>
|
|
<h2><%= t("proposals.new.recommendations_title") %></h2>
|
|
<ul class="recommendations">
|
|
<li><%= t("proposals.new.recommendation_one") %></li>
|
|
<li><%= t("proposals.new.recommendation_two") %></li>
|
|
<li><%= t("proposals.new.recommendation_three") %></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|