Merge pull request #2706 from floriank/fix/19198-quick-wins-part-deux

[Foundation] Even moar quick wins
pull/2725/head
ulferts 10 years ago
commit 9bca028f66
  1. 4
      app/assets/stylesheets/layout/_work_package.sass
  2. 2
      app/views/work_packages/_edit.html.erb
  3. 4
      app/views/work_packages/_form.html.erb

@ -153,3 +153,7 @@
padding-right: 0
margin-right: 0 !important
#attributes
.form--field-container
max-width: 400px

@ -34,7 +34,7 @@ See doc/COPYRIGHT.rdoc for more details.
:html => {
:id => 'work_package-form',
:multipart => true,
:class => 'form -bordered'
:class => 'form'
} do |f| %>
<% if defined? back_url %>

@ -32,7 +32,7 @@ See doc/COPYRIGHT.rdoc for more details.
<div class="grid-block">
<div class="form--column">
<div class="form--field">
<%= f.select :type_id, work_package_form_type_selectable_types(project) %>
<%= f.select :type_id, work_package_form_type_selectable_types(project), {}, class: '-narrow' %>
<%= observe_field :work_package_type_id, url: work_package_form_type_observable_url(work_package, project),
update: :attributes,
method: :get,
@ -57,7 +57,7 @@ See doc/COPYRIGHT.rdoc for more details.
<%= f.text_field :subject, required: true %>
</div>
<div class="form--field -vertical">
<%= f.text_area :description, accesskey: accesskey(:edit), class: 'wiki-edit',:'ng-non-bindable' => '',
<%= f.text_area :description, accesskey: accesskey(:edit), class: 'wiki-edit', rows: 10, :'ng-non-bindable' => '',
:'data-wp_autocomplete_url' => work_packages_auto_complete_path(project_id: work_package.project, format: :json) %>
</div>

Loading…
Cancel
Save