Skip to content
Browse files

Added label, etc...

  • Loading branch information...
1 parent f94f3cb commit 81d7d01d2418189d302f0a95b741ffe9947bd9d4 boaz committed
Showing with 5 additions and 2 deletions.
  1. +1 −1 app/views/layouts/application.html.erb
  2. +4 −1 app/views/pages/index.html.erb
View
2 app/views/layouts/application.html.erb
@@ -6,7 +6,7 @@
<%= yield :head %>
<style type="text/css">
body{text-align: center; background-color: #bada55;font-family: Georgia, times, serif;text-align: center;margin: 32px 0 0;padding: 0;color: #333;}
- #content{margin: 0 auto; width: 660px; text-align: left;padding:50px 0 0 0}
+ .content{margin: 0 auto; width: 660px; text-align: left;padding:50px 0 0 0}
h1, h2{margin:0;font-weight: normal}
h1{font-size: 90px;margin-bottom: 10px;}
h2{font-size: 30px;margin: 0px 0 5px 0}
View
5 app/views/pages/index.html.erb
@@ -1 +1,4 @@
-<h1>Peas</h1>
+<form method="get">
+ <label>Enter your long URL:</label> <input type="text" id="url" name="url" placeholder="url" value="" />
+ <input type="submit" value="Shorten">
+</form>

0 comments on commit 81d7d01

Please sign in to comment.
Something went wrong with that request. Please try again.