Removed question, external_url and responsible_name fields from legislation proposal form
This commit is contained in:
@@ -11,17 +11,6 @@
|
|||||||
|
|
||||||
<%= f.invisible_captcha :subtitle %>
|
<%= f.invisible_captcha :subtitle %>
|
||||||
|
|
||||||
<div class="small-12 column">
|
|
||||||
<%= f.label :question, t("proposals.form.proposal_question") %>
|
|
||||||
<p class="help-text" id="question-help-text">
|
|
||||||
<%= t("proposals.form.proposal_question_example_html") %>
|
|
||||||
</p>
|
|
||||||
<%= f.text_field :question, maxlength: Legislation::Proposal.question_max_length,
|
|
||||||
placeholder: t("proposals.form.proposal_question"),
|
|
||||||
label: false,
|
|
||||||
aria: {describedby: "question-help-text"} %>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="small-12 column">
|
<div class="small-12 column">
|
||||||
<%= f.label :summary, t("proposals.form.proposal_summary") %>
|
<%= f.label :summary, t("proposals.form.proposal_summary") %>
|
||||||
<p class="help-text" id="summary-help-text"><%= t("proposals.form.proposal_summary_note") %></p>
|
<p class="help-text" id="summary-help-text"><%= t("proposals.form.proposal_summary_note") %></p>
|
||||||
@@ -42,11 +31,6 @@
|
|||||||
aria: {describedby: "video-url-help-text"} %>
|
aria: {describedby: "video-url-help-text"} %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="small-12 column">
|
|
||||||
<%= f.label :external_url, t("proposals.form.proposal_external_url") %>
|
|
||||||
<%= f.text_field :external_url, placeholder: t("proposals.form.proposal_external_url"), label: false %>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="documents small-12 column" data-max-documents="<%= Legislation::Proposal.max_documents_allowed %>">
|
<div class="documents small-12 column" data-max-documents="<%= Legislation::Proposal.max_documents_allowed %>">
|
||||||
<%= render 'documents/nested_documents', documentable: @proposal, f: f %>
|
<%= render 'documents/nested_documents', documentable: @proposal, f: f %>
|
||||||
</div>
|
</div>
|
||||||
@@ -74,15 +58,6 @@
|
|||||||
aria: {describedby: "tag-list-help-text"} %>
|
aria: {describedby: "tag-list-help-text"} %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<% if current_user.unverified? %>
|
|
||||||
<div class="small-12 column">
|
|
||||||
<%= f.label :responsible_name, t("proposals.form.proposal_responsible_name") %>
|
|
||||||
<p class="help-text" id="responsible-name-help-text"><%= t("proposals.form.proposal_responsible_name_note") %></p>
|
|
||||||
<%= f.text_field :responsible_name, placeholder: t("proposals.form.proposal_responsible_name"), label: false,
|
|
||||||
aria: {describedby: "responsible-name-help-text"} %>
|
|
||||||
</div>
|
|
||||||
<% end %>
|
|
||||||
|
|
||||||
<div class="small-12 column">
|
<div class="small-12 column">
|
||||||
<% if @proposal.new_record? %>
|
<% if @proposal.new_record? %>
|
||||||
<%= f.label :terms_of_service do %>
|
<%= f.label :terms_of_service do %>
|
||||||
|
|||||||
Reference in New Issue
Block a user