Created
August 25, 2015 15:44
-
-
Save the-teacher/ab2ee4640ea6e909a6e1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= 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