diff --git a/app/views/profiles/_edit_private.haml b/app/views/profiles/_edit_private.haml index 777488c8b..18cd45505 100644 --- a/app/views/profiles/_edit_private.haml +++ b/app/views/profiles/_edit_private.haml @@ -25,7 +25,7 @@ #birth-date.form-inline = select_date profile.birthday, { prompt: true, default: true, order: t('date.order'), - :start_year => upper_limit_date_of_birth, :end_year => lower_limit_date_of_birth, prefix: 'profile[date]' }, + start_year: upper_limit_date_of_birth, end_year: lower_limit_date_of_birth, prefix: 'profile[date]' }, { class: 'form-control'} .small-horizontal-spacer diff --git a/app/views/shared/_modal.haml b/app/views/shared/_modal.haml index b5ad4e9ee..0e77a7b46 100644 --- a/app/views/shared/_modal.haml +++ b/app/views/shared/_modal.haml @@ -1,15 +1,15 @@ -.modal.fade{ id: id, - tabindex: '-1', - role: 'dialog', - 'aria-labelledby' => "#{id}Label", - 'aria-hidden' => 'true', - 'href' => path} +.modal.fade { id: id, + tabindex: "-1", + role: "dialog", + "aria-labelledby": "#{id}Label", + "aria-hidden": "true", + "href": path } .modal-dialog .modal-content .modal-header - %button.close{type: 'button', 'data-dismiss' => 'modal', 'aria-hidden' => 'true' } + %button.close{ type: "button", "data-dismiss": "modal", "aria-hidden": "true" } × %h3.modal-title{ id: "#{id}Label"} = title .modal-body - = image_tag('ajax-loader2.gif', id: "modalWaiter", class: "img-responsive center-block") + = image_tag("ajax-loader2.gif", id: "modalWaiter", class: "img-responsive center-block")