Fix styleguide violations

Fix hash syntax 3

Fix hash syntax 1 and 2
This commit is contained in:
theworldbright 2015-06-03 22:04:56 +09:00 committed by Jonne Haß
parent 46abdbdd1f
commit ed5f7837b5
2 changed files with 9 additions and 9 deletions

View file

@ -25,7 +25,7 @@
#birth-date.form-inline #birth-date.form-inline
= select_date profile.birthday, { prompt: true, default: true, order: t('date.order'), = 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'} { class: 'form-control'}
.small-horizontal-spacer .small-horizontal-spacer

View file

@ -1,15 +1,15 @@
.modal.fade{ id: id, .modal.fade { id: id,
tabindex: '-1', tabindex: "-1",
role: 'dialog', role: "dialog",
'aria-labelledby' => "#{id}Label", "aria-labelledby": "#{id}Label",
'aria-hidden' => 'true', "aria-hidden": "true",
'href' => path} "href": path }
.modal-dialog .modal-dialog
.modal-content .modal-content
.modal-header .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"} %h3.modal-title{ id: "#{id}Label"}
= title = title
.modal-body .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")