OSDN Git Service

fix filer edit box
[pettanr/pettanr.git] / app / views / top / index.html.erb
index 3d56f3a..e68846b 100644 (file)
   <&= filer.header.render().el.innerHTML &>\r
   <&= filer.body.render().el.innerHTML &>\r
 </script>\r
-<script type="text/template" id="templates-filer-header">\r
-  <&= Pettanr.AppHelper.icon_tag(header.icon_name(), {'size': header.icon_size()}) &>\r
-  <a href="#" class="model_name_human">\r
-    <&= Pettanr.AppHelper.t_m(header.model().singular()) &>\r
-  </a>\r
-</script>\r
 <script type="text/template" id="templates-filer-body">\r
   <ul class="filer-body">\r
     <&= body.file_header.render().el.outerHTML &>\r
 <script type="text/template" id="templates-filer-date-none">\r
 </script>\r
 <script type="text/template" id="templates-filer-edit-default">\r
-  <&= item_column.template_name &>\r
   # link_to tag(:img, item_column.edit_img_opt), polymorphic_path(item_column.item, :action => :edit)\r
   # link_to tag(:img, item_column.remove_img_opt), item_column.item, confirm: 'Are you sure?', :method => :delete \r
 </script>\r
-<script type="text/template" id="templates-filer-edit-account">\r
-  <a href="<&= '/home/configure' &>">\r
-    <&= Pettanr.AppHelper.image_tag(item_column.edit_img_file_name(), {'size': item_column.icon_size()}) &>\r
-  </a>\r
-</script>\r
 <script type="text/template" id="templates-filer-edit-template">\r
-  <&= item_column.template_name &>\r
   # render item_column.template_name, :item => item_column.item\r
 </script>\r
 <script type="text/template" id="templates-filer-edit-none">\r