Mailinglist Archive: yast-devel (152 mails)

< Previous Next >
[yast-devel] Re: [yast-commit] <web-client> master : Remove all empty 'alt=' tags
  • From: josef reidinger <jreidinger@xxxxxxx>
  • Date: Wed, 15 Jul 2009 11:07:41 +0200
  • Message-id: <4A5D9C5D.3030003@xxxxxxx>
Klaus KXXmpf napsal(a):
ref: refs/heads/master
commit a8b23a8cb484a9735881979a22df51be165720cf
Author: Klaus Kämpf <kkaempf@xxxxxxx>
Date: Wed Jul 15 10:37:35 2009 +0200

Remove all empty 'alt=' tags
---
webclient/app/views/controlpanel/index.rhtml | 8 ++++----
webclient/app/views/controlpanel/show_all.rhtml | 2 +-
webclient/app/views/hosts/edit.html.erb | 4 ++--
webclient/app/views/hosts/index.html.erb | 2 +-
webclient/app/views/hosts/new.html.erb | 4 ++--
5 files changed, 10 insertions(+), 10 deletions(-)

<snip>
diff --git a/webclient/app/views/hosts/index.html.erb
b/webclient/app/views/hosts/index.html.erb
index bc7ab27..feb6e34 100644
--- a/webclient/app/views/hosts/index.html.erb
+++ b/webclient/app/views/hosts/index.html.erb
@@ -36,7 +36,7 @@
</tbody>

</table>
- <input class="button jqModal" type="submit" value="Add" id="add-host"
/>
+ <%= link_to _('Add'), new_host_path, :class => "button" %>
<!--
FIXME may be add remove and edit buttons and get rid of the icons
above
<input class="button disabled" disabled="true" type="submit"
value="Remove" id="remove-printer"/>

Hi, I don't understand this change. If it is part of form, that direct
link doesn't work, does? And if it is separated button that do action
(think this is that case) why not use button_to? Is there some magic in
rails that I don't see?

--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups