Skip to content

Instantly share code, notes, and snippets.

@the-teacher
Created August 25, 2015 15:44
Show Gist options
  • Save the-teacher/ab2ee4640ea6e909a6e1 to your computer and use it in GitHub Desktop.
Save the-teacher/ab2ee4640ea6e909a6e1 to your computer and use it in GitHub Desktop.
= form_for @user, html: { enctype: "multipart/form-data", role: :form, class: 'form-inline' } do |f|
.form-group
= f.label :username, "Имя пользователя"
= f.text_field :username, class: 'form-control'
.form-group
= f.label :raw_about, "О себе"
= f.text_area :raw_about, class: 'form-control', style: 'height: 200px;'
.form-group
= f.submit "Обновить профиль", class: 'btn btn-default'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment