From 5518ae362d06cd7e2222ae63892d5eb7580d45f9 Mon Sep 17 00:00:00 2001
From: Christophe Vilayphiou GqOBD>f@t$?tr`%OA`fro
zTY&n#Yg=hO=zg?)WIiMF<0ea1UEQs%S~lCe;%=VD)$@(qh5ZdK=!Nnomd~iMsa*JS
zU35587p9AK@8G|k-50UxE-N6wpoq%Yce#Ei6Xzj@W(nXJs&j-pm{Mw13J3`$Zj_oe
z+1q}dh5j{eSUH&AL3w+TcN`swOMcF4s$XjeLf=Srz={BdD6zcDqJGH}ybcUELhGGH
z$_*CNNa9B(8KJ0rv93AQm>4LH3fmB6fA)Ns#gZUw|7tGAm7MQytp(J)x`sf3RQa{W
z`HzK#^xPi{-YhRGlGnV~855YLn(Ia^k7d+P|7Lbt4sM&`WosIWdxf@k!A!t;F_x$C
z26TA-{M8l}hMXWT>}OgmB$|my9t>3U(Fc7a5=Cf)xev9BZMpqRLmZWC7ly&8QWuLabo8
zulq8(b)-Q%d1JMp(Qd9=Mbs~}u#d4_L>0$CrmUS}JF9C1<-gHx>_!=%exT2}$80i6
z5UN&c`Db>E5-unJ
399jx89bQFgdv8a~emE9hdKBN-4(Y
VS?%i$z)Zhljr!9s>95;|BTkaWaWAj{k(Yh2QlQ&>D
zj#mqqm3x~Y)mfkPGsD}8O!d#ktE&z-EZXH5Jx;~_!E!-qgWh6}O3}gtMJjAEva%(0
zbpWHNs3?Xw26R>B$$A&Dy>qTW@jTq%ZJka)aVv!iaH%_($UCTh)FY@jzUjL&f)74|
z?m^inQNDPFZcjM{
-
\ No newline at end of file
diff --git a/app/views/admin/assets/_form.html.erb b/app/views/admin/assets/_form.html.erb
index 3ee7c644..72199ceb 100644
--- a/app/views/admin/assets/_form.html.erb
+++ b/app/views/admin/assets/_form.html.erb
@@ -9,6 +9,6 @@
+
-<%= f.label :data, t('admin.data') %> +<%= f.label :data, t('admin.data'), :class => 'file' %> <%= f.file_field :data %>
\ No newline at end of file diff --git a/app/views/admin/assets/_new.html.erb b/app/views/admin/assets/_new.html.erb index 4f15fafc..49e638c8 100644 --- a/app/views/admin/assets/_new.html.erb +++ b/app/views/admin/assets/_new.html.erb @@ -9,7 +9,7 @@ <%= link_back %> <%= f.submit t(:create) %> <% else %> - <%= t(:create) %> + <%= t(:create) %> <% end %> <% end %> diff --git a/app/views/admin/users/_sub_role_selector.html.erb b/app/views/admin/users/_sub_role_selector.html.erb index 6d7924ca..2305cb47 100644 --- a/app/views/admin/users/_sub_role_selector.html.erb +++ b/app/views/admin/users/_sub_role_selector.html.erb @@ -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 %> \ No newline at end of file diff --git a/app/views/layouts/admin.html.erb b/app/views/layouts/admin.html.erb index 63137048..d800ab5d 100644 --- a/app/views/layouts/admin.html.erb +++ b/app/views/layouts/admin.html.erb @@ -1,31 +1,37 @@ - - - - -