diff --git a/app/views/admin/legislation/draft_versions/_form.html.erb b/app/views/admin/legislation/draft_versions/_form.html.erb index 89ab41823..754b420ca 100644 --- a/app/views/admin/legislation/draft_versions/_form.html.erb +++ b/app/views/admin/legislation/draft_versions/_form.html.erb @@ -44,7 +44,7 @@ <%= f.submit(class: "button", value: t("admin.legislation.draft_versions.#{admin_submit_action(@draft_version)}.submit_button")) %> - <%= link_to "#", class: 'fullscreen-toggle' do %> + <%= link_to "#", class: "fullscreen-toggle" do %> " data-open-text="<%= t("admin.legislation.draft_versions.form.close_text_editor")%>"> <%= t("admin.legislation.draft_versions.form.launch_text_editor")%> diff --git a/app/views/admin/legislation/draft_versions/edit.html.erb b/app/views/admin/legislation/draft_versions/edit.html.erb index b81723d2b..f9b9593a5 100644 --- a/app/views/admin/legislation/draft_versions/edit.html.erb +++ b/app/views/admin/legislation/draft_versions/edit.html.erb @@ -9,7 +9,7 @@

<%= @process.title %>

- <%= render 'admin/legislation/processes/subnav', process: @process, active: 'draft_versions' %> + <%= render "admin/legislation/processes/subnav", process: @process, active: "draft_versions" %>
- <%= render 'form', url: admin_legislation_process_draft_version_path(@process, @draft_version) %> + <%= render "form", url: admin_legislation_process_draft_version_path(@process, @draft_version) %> diff --git a/app/views/admin/legislation/draft_versions/index.html.erb b/app/views/admin/legislation/draft_versions/index.html.erb index f3701d880..5ebafd837 100644 --- a/app/views/admin/legislation/draft_versions/index.html.erb +++ b/app/views/admin/legislation/draft_versions/index.html.erb @@ -8,7 +8,7 @@

<%= @process.title %>

- <%= render 'admin/legislation/processes/subnav', process: @process, active: 'draft_versions' %> + <%= render "admin/legislation/processes/subnav", process: @process, active: "draft_versions" %>

<%= t("admin.legislation.draft_versions.index.title") %>

@@ -36,7 +36,7 @@ <%= draft_version.created_at.to_date %> - <% if draft_version.status == 'draft' %> + <% if draft_version.status == "draft" %> <%= t("admin.legislation.draft_versions.statuses.draft") %> <%= link_to "(#{t('.preview')})", legislation_process_draft_version_path(@process, draft_version) %> <% else %> diff --git a/app/views/admin/legislation/draft_versions/new.html.erb b/app/views/admin/legislation/draft_versions/new.html.erb index fb80d4344..90b2c634f 100644 --- a/app/views/admin/legislation/draft_versions/new.html.erb +++ b/app/views/admin/legislation/draft_versions/new.html.erb @@ -9,12 +9,12 @@

<%= @process.title %>

- <%= render 'admin/legislation/processes/subnav', process: @process, active: 'draft_versions' %> + <%= render "admin/legislation/processes/subnav", process: @process, active: "draft_versions" %>

<%= t("admin.legislation.draft_versions.new.title") %>

- <%= render 'form', url: admin_legislation_process_draft_versions_path(@process) %> + <%= render "form", url: admin_legislation_process_draft_versions_path(@process) %>
diff --git a/app/views/admin/legislation/homepages/_form.html.erb b/app/views/admin/legislation/homepages/_form.html.erb index aa3ee4151..d5e276aa2 100644 --- a/app/views/admin/legislation/homepages/_form.html.erb +++ b/app/views/admin/legislation/homepages/_form.html.erb @@ -16,7 +16,7 @@ <%= translations_form.cktext_area :homepage, language: I18n.locale, label: t("admin.legislation.processes.form.homepage"), - ckeditor: { height: 500, toolbar: 'admin' }, + ckeditor: { height: 500, toolbar: "admin" }, hint: t("admin.legislation.processes.form.homepage_description") %> diff --git a/app/views/admin/legislation/homepages/edit.html.erb b/app/views/admin/legislation/homepages/edit.html.erb index 982d0f0e2..d70b823a1 100644 --- a/app/views/admin/legislation/homepages/edit.html.erb +++ b/app/views/admin/legislation/homepages/edit.html.erb @@ -7,7 +7,7 @@

<%= @process.title %>

- <%= render 'admin/legislation/processes/subnav', process: @process, active: 'homepage' %> + <%= render "admin/legislation/processes/subnav", process: @process, active: "homepage" %> - <%= render 'form', url: admin_legislation_process_homepage_path(@process) %> + <%= render "form", url: admin_legislation_process_homepage_path(@process) %> diff --git a/app/views/admin/legislation/processes/_form.html.erb b/app/views/admin/legislation/processes/_form.html.erb index 7fbc5798f..eb9b1d6d2 100644 --- a/app/views/admin/legislation/processes/_form.html.erb +++ b/app/views/admin/legislation/processes/_form.html.erb @@ -172,7 +172,7 @@
- <%= render 'documents/nested_documents', documentable: @process, f: f %> + <%= render "documents/nested_documents", documentable: @process, f: f %>
@@ -180,7 +180,7 @@
- <%= render 'images/nested_image', imageable: @process, f: f %> + <%= render "images/nested_image", imageable: @process, f: f %>
diff --git a/app/views/admin/legislation/processes/edit.html.erb b/app/views/admin/legislation/processes/edit.html.erb index c6a5e1c2f..372792e7e 100644 --- a/app/views/admin/legislation/processes/edit.html.erb +++ b/app/views/admin/legislation/processes/edit.html.erb @@ -7,7 +7,7 @@

<%= @process.title %>

- <%= render 'subnav', process: @process, active: 'info' %> + <%= render "subnav", process: @process, active: "info" %> - <%= render 'form' %> + <%= render "form" %>
diff --git a/app/views/admin/legislation/processes/index.html.erb b/app/views/admin/legislation/processes/index.html.erb index b5207fc46..5e2a647c3 100644 --- a/app/views/admin/legislation/processes/index.html.erb +++ b/app/views/admin/legislation/processes/index.html.erb @@ -7,7 +7,7 @@ <%= link_to t("admin.legislation.processes.index.create"), new_admin_legislation_process_path, class: "button float-right" %> -<%= render 'shared/filter_subnav', i18n_namespace: "admin.legislation.processes.index" %> +<%= render "shared/filter_subnav", i18n_namespace: "admin.legislation.processes.index" %> <% if @processes.any? %>

<%= page_entries_info @processes %>

@@ -37,7 +37,7 @@ <%= link_to t("admin.legislation.processes.index.delete"), admin_legislation_process_path(process), method: :delete, - class: 'button hollow alert expanded' %> + class: "button hollow alert expanded" %> <% end %> diff --git a/app/views/admin/legislation/questions/_form.html.erb b/app/views/admin/legislation/questions/_form.html.erb index a6d91d906..daccb3dfe 100644 --- a/app/views/admin/legislation/questions/_form.html.erb +++ b/app/views/admin/legislation/questions/_form.html.erb @@ -32,7 +32,7 @@
<%= f.fields_for :question_options do |ff| %> - <%= render 'question_option_fields', f: ff %> + <%= render "question_option_fields", f: ff %> <% end %>
diff --git a/app/views/admin/legislation/questions/edit.html.erb b/app/views/admin/legislation/questions/edit.html.erb index e9e98b076..6db283eba 100644 --- a/app/views/admin/legislation/questions/edit.html.erb +++ b/app/views/admin/legislation/questions/edit.html.erb @@ -8,7 +8,7 @@

<%= @process.title %>

- <%= render 'admin/legislation/processes/subnav', process: @process, active: 'questions' %> + <%= render "admin/legislation/processes/subnav", process: @process, active: "questions" %>

<%= t("admin.legislation.questions.edit.title", question_title: @question.title) %>

@@ -16,10 +16,10 @@
<%= link_to t("admin.legislation.questions.index.delete"), admin_legislation_process_question_path(@process, @question), method: :delete, - class: 'button hollow alert' %> + class: "button hollow alert" %>
- <%= render 'form', url: admin_legislation_process_question_path(@process, @question) %> + <%= render "form", url: admin_legislation_process_question_path(@process, @question) %>
diff --git a/app/views/admin/legislation/questions/index.html.erb b/app/views/admin/legislation/questions/index.html.erb index 120ade4ca..77f6341ce 100644 --- a/app/views/admin/legislation/questions/index.html.erb +++ b/app/views/admin/legislation/questions/index.html.erb @@ -7,7 +7,7 @@

<%= @process.title %>

- <%= render 'admin/legislation/processes/subnav', process: @process, active: 'questions' %> + <%= render "admin/legislation/processes/subnav", process: @process, active: "questions" %>

<%= t("admin.legislation.questions.index.title") %>

@@ -42,7 +42,7 @@ <% end %> <%= question.answers_count %> - <%= link_to question.comments.count, legislation_process_question_path(@process, question, anchor: 'comments') %> + <%= link_to question.comments.count, legislation_process_question_path(@process, question, anchor: "comments") %> <% end %> diff --git a/app/views/admin/legislation/questions/new.html.erb b/app/views/admin/legislation/questions/new.html.erb index 68c003ee2..6b9c54519 100644 --- a/app/views/admin/legislation/questions/new.html.erb +++ b/app/views/admin/legislation/questions/new.html.erb @@ -8,11 +8,11 @@

<%= @process.title %>

- <%= render 'admin/legislation/processes/subnav', process: @process, active: 'questions' %> + <%= render "admin/legislation/processes/subnav", process: @process, active: "questions" %>

<%= t("admin.legislation.questions.new.title") %>

- <%= render 'form', url: admin_legislation_process_questions_path(@process) %> + <%= render "form", url: admin_legislation_process_questions_path(@process) %>