25 lines
896 B
Plaintext
25 lines
896 B
Plaintext
.group
|
|
= f.label :title, :class => :label
|
|
= f.text_field :title, :class => 'text_field'
|
|
|
|
.group
|
|
= f.label :body, :class => :label
|
|
= f.text_area :body, :class => 'text_field', :cols => 80
|
|
|
|
- unless @issue.new_record?
|
|
.group
|
|
= f.label :status, :class => :label
|
|
= f.select :status, Issue::STATUSES, :class => 'text_field'
|
|
|
|
.group
|
|
= label_tag "", t("activerecord.attributes.issue.user_id"), :class => :label
|
|
= autocomplete_field_tag 'user_id', @user_uname, autocomplete_user_uname_platforms_path, :id_element => '#user_id_field'
|
|
= hidden_field_tag 'user_id', @user_id, :id => 'user_id_field'
|
|
|
|
.group.navform.wat-cf
|
|
%button.button{:type => "submit"}
|
|
= image_tag("choose.png", :alt => t("layout.save"))
|
|
= t("layout.save")
|
|
%span.text_button_padding= t("layout.or")
|
|
= link_to t("layout.cancel"), project_path(@project), :class => "text_button_padding link_button"
|