[#369] fix group form pages
This commit is contained in:
parent
383e396d99
commit
356142aa8a
|
@ -5,9 +5,11 @@
|
|||
.container.col-md-offset-2.col-md-8
|
||||
.row
|
||||
= simple_form_for @group,
|
||||
html: { class: 'form-horizontal' },
|
||||
url: profile_group_path(@group),
|
||||
wrapper: :horizontal_form,
|
||||
wrapper_mappings: { boolean: :horizontal_boolean } do |f|
|
||||
wrapper_mappings: { boolean: :horizontal_boolean,
|
||||
file: :horizontal_file_input } do |f|
|
||||
|
||||
= render 'form', f: f
|
||||
|
||||
|
|
|
@ -3,8 +3,10 @@
|
|||
h3
|
||||
= title t('layout.groups.new_header')
|
||||
= simple_form_for @group,
|
||||
html: { class: 'form-horizontal' },
|
||||
wrapper: :horizontal_form,
|
||||
wrapper_mappings: { boolean: :horizontal_boolean } do |f|
|
||||
wrapper_mappings: { boolean: :horizontal_boolean,
|
||||
file: :horizontal_file_input } do |f|
|
||||
|
||||
= render 'form', f: f
|
||||
|
||||
|
|
|
@ -58,7 +58,3 @@ en:
|
|||
group:
|
||||
uname: Enter the name here.
|
||||
description: Enter the description here.
|
||||
hints:
|
||||
group:
|
||||
description: Enter the description of group.
|
||||
|
||||
|
|
|
@ -58,9 +58,3 @@ ru:
|
|||
group:
|
||||
uname: Введите название здесь.
|
||||
description: Введите описание здесь.
|
||||
hints:
|
||||
group:
|
||||
uname: Введите название группы.
|
||||
description: Введите описание группы.
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue