Permalink
Browse files

Additional styling for projects, tasks

  • Loading branch information...
1 parent dc6168f commit f659def99dbfd59eb95ae3fdf7edcb6c3665cac0 @cthielen cthielen committed Feb 28, 2014
Showing with 9 additions and 7 deletions.
  1. +3 −2 app/views/projects/_form.html.erb
  2. +1 −4 app/views/projects/edit.html.erb
  3. +5 −1 app/views/tasks/_form.html.erb
@@ -44,13 +44,14 @@
</div>
<div class="field">
<%= f.label :description %><br>
- <%= f.text_field :description %>
+ <%= f.text_area :description, size: "65x8" %>
</div>
<div class="field">
<%= f.label :link %><br>
<%= f.text_field :link %>
</div>
+ <br />
<div class="actions">
- <%= f.submit %>
+ <%= f.submit :class => 'btn btn-default'%>
</div>
<% end %>
@@ -1,6 +1,3 @@
-<h1>Editing project</h1>
+<h1 class="page-header"><%= @project.name %></h1>
<%= render 'form' %>
-
-<%= link_to 'Show', @project %> |
-<%= link_to 'Back', projects_path %>
@@ -32,7 +32,11 @@
</div>
<div class="form-group">
<%= f.label :due %><br>
- <%= f.datetime_select :due %>
+ <%= f.datetime_select :due, :include_blank => true %>
+ </div>
+ <div class="form-group">
+ <%= f.label :completed %><br>
+ <%= f.datetime_select :completed, :include_blank => true %>
</div>
<div class="actions">
<%= f.submit :class => 'btn btn-primary' %>

0 comments on commit f659def

Please sign in to comment.