[#369] fix group form pages

This commit is contained in:
Alexander Machehin 2014-11-07 09:08:36 +05:00
parent 383e396d99
commit 356142aa8a
4 changed files with 6 additions and 12 deletions

View File

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

View File

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

View File

@ -58,7 +58,3 @@ en:
group:
uname: Enter the name here.
description: Enter the description here.
hints:
group:
description: Enter the description of group.

View File

@ -58,9 +58,3 @@ ru:
group:
uname: Введите название здесь.
description: Введите описание здесь.
hints:
group:
uname: Введите название группы.
description: Введите описание группы.