mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
* Cleanup the CSS * Fix more views then you have fingers and toes * Introduce position(weight) for sponsor levels * Fix bootstrap/datatable integration
20 lines
716 B
Text
20 lines
716 B
Text
.container
|
|
.row
|
|
.col-md-12
|
|
.page-header
|
|
%h1 Edit your profile
|
|
.row
|
|
.col-md-12
|
|
= semantic_form_for(@user, url: user_path(@user.id)) do |f|
|
|
= f.input :name, as: :string
|
|
= f.input :nickname, as: :string
|
|
= f.input :affiliation, as: :string,
|
|
hint: 'This could be a company, a user group, or nothing at all.'
|
|
= f.input :biography, input_html: { rows: 5, 'onkeyup' => "word_count(this, 'biography-count', 150)" }
|
|
You have used
|
|
%span#bio_length
|
|
0
|
|
words. Biographies are limited to 150 words.
|
|
%br
|
|
%br
|
|
= f.action :submit, as: :button, label: 'Update', button_html: {class: 'btn btn-primary'}
|