diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-01 13:05:41 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-01 13:05:41 +0000 |
commit | 6bf5659c9973bd17e3b76221546b9d42d89b344f (patch) | |
tree | 2f2a71aaba45b9183363b9e4e69f1b4bab655f1b /app/views/issue_statuses/_form.html.erb | |
parent | e53597a83c1d45b5fbc5559bc03eeefaeed0da72 (diff) | |
download | redmine-6bf5659c9973bd17e3b76221546b9d42d89b344f.tar.gz redmine-6bf5659c9973bd17e3b76221546b9d42d89b344f.zip |
rename .rhtml to .html.erb of app/views/issue_statuses/_form.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6997 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/issue_statuses/_form.html.erb')
-rw-r--r-- | app/views/issue_statuses/_form.html.erb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app/views/issue_statuses/_form.html.erb b/app/views/issue_statuses/_form.html.erb new file mode 100644 index 000000000..20c333e0d --- /dev/null +++ b/app/views/issue_statuses/_form.html.erb @@ -0,0 +1,22 @@ +<%= error_messages_for 'issue_status' %> + +<div class="box"> +<!--[form:issue_status]--> +<p><label for="issue_status_name"><%=l(:field_name)%><span class="required"> *</span></label> +<%= text_field 'issue_status', 'name' %></p> + +<% if Issue.use_status_for_done_ratio? %> +<p><label for="issue_done_ratio"><%=l(:field_done_ratio)%></label> +<%= select 'issue_status', :default_done_ratio, ((0..10).to_a.collect {|r| ["#{r*10} %", r*10] }), :include_blank => true %></p> +<% end %> + +<p><label for="issue_status_is_closed"><%=l(:field_is_closed)%></label> +<%= check_box 'issue_status', 'is_closed' %></p> + +<p><label for="issue_status_is_default"><%=l(:field_is_default)%></label> +<%= check_box 'issue_status', 'is_default' %></p> + +<%= call_hook(:view_issue_statuses_form, :issue_status => @issue_status) %> + +<!--[eoform:issue_status]--> +</div> |