Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request Growstuff#747 from mauricio-gonzalez/add_autofocus…
Browse files Browse the repository at this point in the history
…_post_field

[Growstuff#478] autofocus subject input
  • Loading branch information
maco committed Jun 13, 2015
2 parents a7feac3 + e3a620a commit ba90686
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,5 @@ submit the change with your pull request.
- Robert Landreaux / [robertlandreaux](https://github.com/robertlandreaux)
- Savant Krishna / [sksavant](https://github.com/sksavant)
- Jake Yesbeck / [yez](https://github.com/yez)
- Mauricio Gonzalez / [mauricio-gonzalez](https://github.com/mauricio-gonzalez)

2 changes: 1 addition & 1 deletion app/views/posts/_form.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

.form-group
= label_tag :post, "Subject", :class => 'control-label'
= f.text_field :subject, :class => 'form-control'
= f.text_field :subject, :class => 'form-control', :autofocus => true

.form-group
- if @post.forum || @forum
Expand Down

0 comments on commit ba90686

Please sign in to comment.