Ray's modification before redesign

This commit is contained in:
Christophe Vilayphiou authored and Christophe Vilayphiou committed 2012-01-24 11:57:27 +08:00
1 parent bfd55277d7
commit 5518ae362d
21 files changed
+1000 -578

No files matched your search

+1 -1
View File
@@ -13,5 +13,5 @@
</td>
</tr>
<tr>
<td colspan="5"></td>
<td colspan="6"></td>
</tr>
+1 -1
View File
@@ -9,6 +9,6 @@
</p>
<p>
<%= f.label :data, t('admin.data') %>
<%= f.label :data, t('admin.data'), :class => 'file' %>
<%= f.file_field :data %>
</p>
+1 -1
View File
@@ -9,7 +9,7 @@
<%= link_back %>
<%= f.submit t(:create) %>
<% else %>
<a id='submit_button'><%= t(:create) %></a>
<a id='submit_button' class="new"><%= t(:create) %></a>
<% end %>
</div>
<% end %>
@@ -1,4 +1,4 @@
<% role.sub_roles.each do |sub_role| %>
<%= sub_role.i18n_variable[I18n.locale] %>
<%= check_box_tag "user[sub_role_ids][]", sub_role.id, @user.sub_role_ids.include?(sub_role.id), :class => 'sub_role_select' %>
<%= f.label sub_role.i18n_variable[I18n.locale], :for => "check_sub_role_#{sub_role.id}", :class => 'sub_role_select' %>
<%= check_box_tag "user[sub_role_ids][]", sub_role.id, @user.sub_role_ids.include?(sub_role.id), :id => "check_sub_role_#{sub_role.id}", :class => 'sub_role_select' %>
<% end %>