Browse Source

Added labels

Andrew Kane 9 years ago
parent
commit
a93b19bf76

+ 1 - 1
app/assets/stylesheets/blazer/application.css

@@ -58,7 +58,7 @@ input.search:focus {
 
 #editor {
   display: none;
-  height: 175px;
+  height: 160px;
 }
 
 .ace_print-margin-layer {

+ 4 - 2
app/views/blazer/queries/_form.html.erb

@@ -22,10 +22,12 @@
     </div>
     <div class="col-xs-4">
       <div class="form-group">
-        <%= f.text_field :name, placeholder: "Name", class: "form-control" %>
+        <%= f.label :name %>
+        <%= f.text_field :name, class: "form-control" %>
       </div>
       <div class="form-group">
-        <%= f.text_area :description, placeholder: "Optional description", style: "height: 70px;", class: "form-control" %>
+        <%= f.label :description %>
+        <%= f.text_area :description, placeholder: "Optional", style: "height: 80px;", class: "form-control" %>
       </div>
       <div class="text-right">
         <% if @query.persisted? %>