2012-05-23 05:00:51 +00:00
|
|
|
<div class="checkblock">
|
2012-06-22 10:19:40 +00:00
|
|
|
<div class="for_unit" style="display:none;"> <%= user.cache_dept[I18n.locale.to_s] rescue ''%></div>
|
|
|
|
<%= content_tag :div,:data=>{'original-title'=>t('announcement.bulletin.approval_setting_window_title'),:content => (user.cache_dept[I18n.locale.to_s] rescue '')},:class=>"checkbox clear" do %>
|
2012-05-23 05:00:51 +00:00
|
|
|
<div class="check-icon">
|
|
|
|
</div>
|
|
|
|
<div class='member-avatar'>
|
|
|
|
<% if user.avatar? %>
|
|
|
|
<%= image_tag(user.avatar.thumb.url,:class => "member-img") %>
|
|
|
|
<% else %>
|
|
|
|
<%= image_tag "person.png",:class => "member-img" %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
<%= label_tag "lab-user-#{user.id}", (user.name rescue ''),:class=>"member-name",:id=>nil -%>
|
|
|
|
<%= check_box_tag "[users][#{user.id}]", 'true',chosen_users.include?(user),:class => "check" -%>
|
|
|
|
<%end %>
|
|
|
|
</div>
|