Skip to content

Commit

Permalink
#20 form improved
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdilek committed Sep 5, 2013
1 parent 17bd9d4 commit 9429352
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@

en:
hello: "Hello world"
cancel: Cancel
3 changes: 2 additions & 1 deletion config/locales/tr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@
# available at http://guides.rubyonrails.org/i18n.html.

tr:
hello: "Merhaba Dünya"
hello: "Merhaba Dünya"
cancel: İptal
3 changes: 2 additions & 1 deletion lib/templates/haml/scaffold/_form.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
<%- end -%>

.form-actions
= f.button :submit
= f.button :submit, class: 'btn btn-default'
= link_to t('cancel'), <%= index_helper %>_path, class: 'btn'

0 comments on commit 9429352

Please sign in to comment.