diff --git a/lib/philomena_web/templates/gallery/show.html.slime b/lib/philomena_web/templates/gallery/show.html.slime index 4a1fb91d..2f3a13e8 100644 --- a/lib/philomena_web/templates/gallery/show.html.slime +++ b/lib/philomena_web/templates/gallery/show.html.slime @@ -28,11 +28,11 @@ elixir: span.hide-mobile Edit = if can?(@conn, :edit, @gallery) do - a.rearrange-button.js-rearrange href='#' data-click-hide='.js-rearrange' data-click-show='.js-save,#gallery-rearrange-info' + a.rearrange-button.js-rearrange href="#" data-click-hide=".js-rearrange" data-click-show=".js-save,#gallery-rearrange-info" i.fa.fa-sort> ' Rearrange - a.rearrange-button.js-save.hidden href='#' data-click-hide='.js-save,#gallery-rearrange-info' data-click-show='.js-rearrange' data-reorder-path=Routes.gallery_order_path(@conn, :update, @gallery) + a.rearrange-button.js-save.hidden href="#" data-click-hide=".js-save,#gallery-rearrange-info" data-click-show=".js-rearrange" data-reorder-path=Routes.gallery_order_path(@conn, :update, @gallery) i.fa.fa-check> ' Save diff --git a/lib/philomena_web/templates/image/_image_box.html.slime b/lib/philomena_web/templates/image/_image_box.html.slime index 25c10d47..e6210860 100644 --- a/lib/philomena_web/templates/image/_image_box.html.slime +++ b/lib/philomena_web/templates/image/_image_box.html.slime @@ -21,18 +21,18 @@ elixir: .media-box data-image-id=@image.id .media-box__header.media-box__header--link-row class=header_class data-image-id=@image.id a.interaction--fave href="#" rel="nofollow" data-image-id=@image.id - span.fave-span title='Fave!' + span.fave-span title="Fave!" i.fa.fa-star - span.favorites title='Favorites' data-image-id=@image.id = @image.faves_count + span.favorites title="Favorites" data-image-id=@image.id = @image.faves_count a.interaction--upvote href="#" rel="nofollow" data-image-id=@image.id - i.fa.fa-arrow-up title='Yay!' - span.score title='Score' data-image-id=@image.id = @image.score + i.fa.fa-arrow-up title="Yay!" + span.score title="Score" data-image-id=@image.id = @image.score a.interaction--downvote href="#" rel="nofollow" data-image-id=@image.id - i.fa.fa-arrow-down title='Neigh!' - a.interaction--comments href="/#{@image.id}#comments" title='Comments' + i.fa.fa-arrow-down title="Neigh!" + a.interaction--comments href="/#{@image.id}#comments" title="Comments" i.fa.fa-comments span.comments_count data-image-id=@image.id = @image.comments_count a.interaction--hide href="#" rel="nofollow" data-image-id=@image.id - i.fa.fa-eye-slash title='Hide' + i.fa.fa-eye-slash title="Hide" .media-box__content.flex.flex--centered.flex--center-distributed class=size_class - = render PhilomenaWeb.ImageView, "_image_container.html", link: link, image: @image, size: @size, conn: @conn \ No newline at end of file + = render PhilomenaWeb.ImageView, "_image_container.html", link: link, image: @image, size: @size, conn: @conn diff --git a/lib/philomena_web/templates/image/_tags.html.slime b/lib/philomena_web/templates/image/_tags.html.slime index 6483679c..6ea3950d 100644 --- a/lib/philomena_web/templates/image/_tags.html.slime +++ b/lib/philomena_web/templates/image/_tags.html.slime @@ -43,7 +43,7 @@ button.button.js-tag-sauce-toggle data-click-toggle=".tagsauce, .js-imageform" data-click-focus=".js-taginput-plain:not(.hidden), .js-taginput-input" ' Cancel - .block.js-tagtable data-target='[name="image[tag_input]"]' + .block.js-tagtable data-target="[name="image[tag_input]"]" = PhilomenaWeb.TagView.quick_tags(@conn) - else diff --git a/lib/philomena_web/templates/image/new.html.slime b/lib/philomena_web/templates/image/new.html.slime index e7e02ef2..62c8cda8 100644 --- a/lib/philomena_web/templates/image/new.html.slime +++ b/lib/philomena_web/templates/image/new.html.slime @@ -64,7 +64,7 @@ p You can mouse over tags below to view a description, and click to add. Short tag names can be used and will expand to full. - .block.js-tagtable data-target='[name="image[tag_input]"]' + .block.js-tagtable data-target="[name="image[tag_input]"]" = PhilomenaWeb.TagView.quick_tags(@conn) br diff --git a/lib/philomena_web/templates/layout/_header.html.slime b/lib/philomena_web/templates/layout/_header.html.slime index 413b38db..455c122d 100644 --- a/lib/philomena_web/templates/layout/_header.html.slime +++ b/lib/philomena_web/templates/layout/_header.html.slime @@ -95,7 +95,7 @@ header.header a.header__link href=Routes.pow_registration_path(@conn, :edit) i.fa.fa-fw.fa-user> | Account - a.header__link href="/session" data-method='delete' + a.header__link href="/session" data-method="delete" i.fa.fa-fw.fa-sign-out-alt> | Logout - else diff --git a/lib/philomena_web/templates/tag/_tag_editor.html.slime b/lib/philomena_web/templates/tag/_tag_editor.html.slime index d08eaac7..7c34c66b 100644 --- a/lib/philomena_web/templates/tag/_tag_editor.html.slime +++ b/lib/philomena_web/templates/tag/_tag_editor.html.slime @@ -8,7 +8,7 @@ elixir: .js-tag-block class="fancy-tag-#{@type}" = textarea @f, @name, html_options .js-taginput.input.input--wide.tagsinput.hidden class="js-taginput-fancy" data-click-focus=".js-taginput-input.js-taginput-#{@name}" - input.input class="js-taginput-input js-taginput-#{@name}" id="taginput-fancy-#{@name}" type="text" placeholder="add a tag" autocomplete="off" autocapitalize="none" data-ac="true" data-ac-min-length="3" data-ac-source='/tags/autocomplete?term=' + input.input class="js-taginput-input js-taginput-#{@name}" id="taginput-fancy-#{@name}" type="text" placeholder="add a tag" autocomplete="off" autocapitalize="none" data-ac="true" data-ac-min-length="3" data-ac-source="/tags/autocomplete?term=" button.button.button--state-primary.button--bold class="js-taginput-show" data-click-show=".js-taginput-fancy,.js-taginput-hide" data-click-hide=".js-taginput-plain,.js-taginput-show" data-click-focus=".js-taginput-input.js-taginput-#{@name}" = hidden_input :fuck_ie, :fuck_ie, value: "fuck_ie" ' Fancy Editor