diff --git a/app/assets/stylesheets/legacy.scss b/app/assets/stylesheets/legacy.scss index b5cee16a..cc5f1916 100644 --- a/app/assets/stylesheets/legacy.scss +++ b/app/assets/stylesheets/legacy.scss @@ -14,7 +14,7 @@ div.depends_on label { float: left; } -div#input_box div#todo_new_action_container div#todo_multi_add form#todo-form-multi-new-action.inline-form label { +div#input_box div#todo_multi_add form#todo-form-multi-new-action.inline-form label { float: center; } @@ -900,11 +900,13 @@ input#go_to_project, input#context_hide { text-align:right; } -#todo-form-new-action label, .edit_todo_form label { +.edit_todo_form label { display: block; padding-bottom: 3px; } + + form.button-to { border: none; padding: 0px; diff --git a/app/views/todos/_new_todo_form.html.erb b/app/views/todos/_new_todo_form.html.erb index 53280b17..aa02e6a6 100644 --- a/app/views/todos/_new_todo_form.html.erb +++ b/app/views/todos/_new_todo_form.html.erb @@ -8,56 +8,66 @@ <%= get_list_of_error_messages_for(todo) %> - - <%= image_tag("blank.png", :title =>t('todos.star_action'), :class => "todo_star", :style=> "float: right")%> - <%= t.text_field("description", "size" => 30, "maxlength" => 100, "autocomplete" => "off", :autofocus => true) %> - - - <%= t.text_area("notes", "cols" => 29, "rows" => 6) %> - - - - - - - - - - <%= hidden_field_tag "initial_tag_list", @initial_tags%> - <%= text_field_tag "tag_list", @initial_tags, :size => 30 %> - <%= content_tag("div", "", :id => "tag_list_auto_complete", :class => "auto_complete") %> - -
- - <%= t.text_field("due", "size" => 12, "class" => "Date", "autocomplete" => "off") %> +
+ + <%= image_tag("blank.png", :title =>t('todos.star_action'), :class => "todo_star", :style=> "float: right")%> + <%= t.text_field("description", "size" => 30, "maxlength" => 100, "autocomplete" => "off", :autofocus => true, :class => "form-control input-sm") %>
-
- - <%= t.text_field("show_from", "size" => 12, "class" => "Date", "autocomplete" => "off") %> +
+ + <%= t.text_area("notes", "cols" => 29, "rows" => 6, :class => "form-control input-sm") %> +
+ +
+ + + +
+ +
+ + +
+ +
+ + <%= hidden_field_tag "initial_tag_list", @initial_tags%> + <%= text_field_tag "tag_list", @initial_tags, :size => 30, :class => "form-control input-sm" %> + <%= content_tag("div", "", :id => "tag_list_auto_complete", :class => "auto_complete") %> +
+ +
+
+ + <%= t.text_field("due", "size" => 12, "class" => "Date form-control input-sm", "autocomplete" => "off") %> +
+ +
+ + <%= t.text_field("show_from", "size" => 12, "class" => "Date form-control input-sm", "autocomplete" => "off") %> +
- -
- +
+ +
+ +
+ + <%= text_field_tag "predecessor_input", nil, :size => 30, :class => "form-control input-sm" %>
- - <%= text_field_tag "predecessor_input", nil, :size => 30 %> <%= hidden_field_tag "predecessor_list", ""%>
<%= source_view_tag( @source_view ) %> <%= hidden_field_tag :_tag_name, @tag_name.underscore.gsub(/\s+/,'_') if source_view_is :tag %> -
-
- -
-
+ <% end # form_for -%>