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