Using helpers

hi!

im trying to use helpers, but until now, im not so sure how can i use
them.
for example, im working on a role based login, and if u have an admin
level, u can edit, delete, etc but otherwise not.

the thing is, now im showing the actions(links) for the users, with an
if/else condition. it works, but im sure, thats not the right way to do
that, because is stupid to put the conditions on all the views.

how can i do that with a helper?

ty!! bye!