redmine_dmsf/app/views/dmsf/_user_pref.html.erb
vit.jonas@gmail.com 2c23d4e1aa * finishing import
git-svn-id: http://redmine-dmsf.googlecode.com/svn/trunk/redmine_dmsf@4 5e329b0b-a2ee-ea63-e329-299493fc886d
2011-05-05 19:29:34 +00:00

15 lines
660 B
Plaintext

<div class="box">
<% form_tag({:controller => "dmsf_state", :action => "user_pref", :id => @project, :current => URI.escape(request.url)},
:method=>:post) do %>
<div style="padding-top: 0px; float: right;">
<%= submit_tag("Save", :title => "Save preferences", :style => "font-size: 0.9em;", :tabindex => 10) %>
</div>
<h3>Your <%= l(:dmsf) %> preferences for project</h3>
<div>
Notifications:
<%= select_tag("email_notify",
options_for_select([["Default", nil], ["Activated", true], ["Deactivated", false]],
:selected => DmsfUserPref.for(@project, User.current).email_notify), :tabindex => 1) %>
</div>
<% end %>
</div>