Skip to content

Commit

Permalink
space between data-url
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwoldatwork committed Nov 17, 2023
1 parent 18c851e commit fa0235a
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions app/views/components/forms/edit/_builder.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,23 @@
Disclaimer text
</label>
<small class="fba-dialog-privacy">
<p class="fba-disclaimer-text">
<textarea id="disclaimer_text" class="usa-textarea countable" name="disclaimer-text" tabindex="<%= @tabindex += 1 %>"data-url="<%= admin_form_path(form) %>"><%= form.disclaimer_text %></textarea>
<div class="fba-disclaimer-text">
<textarea id="disclaimer_text"
class="usa-textarea countable"
name="disclaimer-text"
tabindex="<%= @tabindex += 1 %>"
data-url="<%= admin_form_path(form) %>"><%= form.disclaimer_text %></textarea>
<span class="usa-hint save-notice survey-disclaimer">
<i class="fa fa-check-circle" aria-hidden="true"></i> saved
</span>
<span class="counter-msg usa-hint usa-character-count__message" aria-live="polite">
<%= @disclaimer_text_limit %>
<%= t :characters_allowed %>
</span>
<div id="disclaimer_text-show" tabindex="<%= @tabindex += 1 %>"><%= form.disclaimer_text.present? ? sanitize(form.disclaimer_text) : 'Survey Disclaimer Text' %></div>
</p>
<div id="disclaimer_text-show" class="margin-top-2" tabindex="<%= @tabindex += 1 %>">
<%= form.disclaimer_text.present? ? sanitize(form.disclaimer_text) : 'Survey Disclaimer Text' %>
</div>
</div>
</small>
</div>
</div>
Expand All @@ -82,7 +88,7 @@
$(function() {
$(".question-option-edit").hide();

<% if form_permissions?(form: form) %>
<%- if form_permissions?(form: form) %>
$('.survey-title-input').on("blur", function(event) {
event.preventDefault();
$('.usa-hint.save-notice.survey-title').show();
Expand Down

0 comments on commit fa0235a

Please sign in to comment.