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
= 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

View file

@ -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")