Remove Poll::Question title length limit

As requested by #1997
This commit is contained in:
Angel Perez
2017-10-06 11:41:31 -04:00
parent 0e7431e9e6
commit d62c0d5d05

View File

@@ -12,13 +12,19 @@
label: t("admin.questions.new.poll_label") %> label: t("admin.questions.new.poll_label") %>
</div> </div>
<%= f.text_field :title, maxlength: Poll::Question.title_max_length %> <%= f.text_field :title %>
<div class="small-12"> <div class="small-12">
<%= f.label :video_url, t("proposals.form.proposal_video_url") %> <%= f.label :video_url, t("proposals.form.proposal_video_url") %>
<p class="help-text" id="video-url-help-text"><%= t("proposals.form.proposal_video_url_note") %></p>
<%= f.text_field :video_url, placeholder: t("proposals.form.proposal_video_url"), label: false, <p class="help-text" id="video-url-help-text">
aria: {describedby: "video-url-help-text"} %> <%= t("proposals.form.proposal_video_url_note") %>
</p>
<%= f.text_field :video_url,
placeholder: t("proposals.form.proposal_video_url"),
label: false,
aria: {describedby: "video-url-help-text"} %>
</div> </div>
<div class="small-12 medium-6 large-4 margin-top"> <div class="small-12 medium-6 large-4 margin-top">