Permalink
Browse files

Replace outer nested/duplicate <form> tag with <div> to make

consistent with <div> around login form.
  • Loading branch information...
1 parent 088022a commit f919e7b528150b7a251922a329be541fb8af2102 @beanz beanz committed Oct 27, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 app.rb
View
4 app.rb
@@ -145,7 +145,7 @@
H.set_title "Submit a new story - #{SiteName}"
H.page {
H.h2 {"Submit a new story"}+
- H.form(:id => "submitform") {
+ H.div(:id => "submitform") {
H.form(:name=>"f") {
H.inputhidden(:name => "news_id", :value => -1)+
H.label(:for => "title") {"title"}+
@@ -311,7 +311,7 @@
H.set_title "Edit news - #{SiteName}"
H.page {
news_to_html(news)+
- H.form(:id => "submitform") {
+ H.div(:id => "submitform") {
H.form(:name=>"f") {
H.inputhidden(:name => "news_id", :value => news['id'])+
H.label(:for => "title") {"title"}+

0 comments on commit f919e7b

Please sign in to comment.