Fix haml-lint LineLength
cops in app/views/admin (#28680)
This commit is contained in:
parent
7720c684c5
commit
f445d33fd6
37 changed files with 576 additions and 146 deletions
|
@ -5,17 +5,34 @@
|
|||
= render 'shared/error_messages', object: @announcement
|
||||
|
||||
.fields-group
|
||||
= f.input :starts_at, include_blank: true, wrapper: :with_block_label, html5: true, input_html: { pattern: datetime_pattern, placeholder: datetime_placeholder }
|
||||
= f.input :ends_at, include_blank: true, wrapper: :with_block_label, html5: true, input_html: { pattern: datetime_pattern, placeholder: datetime_placeholder }
|
||||
= f.input :starts_at,
|
||||
html5: true,
|
||||
include_blank: true,
|
||||
input_html: { pattern: datetime_pattern, placeholder: datetime_placeholder },
|
||||
wrapper: :with_block_label
|
||||
= f.input :ends_at,
|
||||
html5: true,
|
||||
include_blank: true,
|
||||
input_html: { pattern: datetime_pattern, placeholder: datetime_placeholder },
|
||||
wrapper: :with_block_label
|
||||
|
||||
.fields-group
|
||||
= f.input :all_day, as: :boolean, wrapper: :with_label
|
||||
= f.input :all_day,
|
||||
as: :boolean,
|
||||
wrapper: :with_label
|
||||
|
||||
.fields-group
|
||||
= f.input :text, wrapper: :with_block_label
|
||||
= f.input :text,
|
||||
wrapper: :with_block_label
|
||||
|
||||
.fields-group
|
||||
= f.input :scheduled_at, include_blank: true, wrapper: :with_block_label, html5: true, input_html: { pattern: datetime_pattern, placeholder: datetime_placeholder }
|
||||
= f.input :scheduled_at,
|
||||
html5: true,
|
||||
include_blank: true,
|
||||
input_html: { pattern: datetime_pattern, placeholder: datetime_placeholder },
|
||||
wrapper: :with_block_label
|
||||
|
||||
.actions
|
||||
= f.button :button, t('.create'), type: :submit
|
||||
= f.button :button,
|
||||
t('.create'),
|
||||
type: :submit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue