Sha256: de700a6052f04dfcddc666550c2236e08a300bf758b3f29d4de401d667b65de5
Contents?: true
Size: 602 Bytes
Versions: 1
Compression:
Stored size: 602 Bytes
Contents
def outgoing_menssage if notice raw "<h4 class='alert_success'>#{notice}</h4>" end end def arrow_left image_tag('icons/116767-matte-blue-and-white-square-icon-arrows-arrow-thick-left.png', height: '50px', width: '50px') end def arrow_right image_tag('icons/116768-matte-blue-and-white-square-icon-arrows-arrow-thick-right.png', height: '50px', width: '50px') end def submit_link(form) if params[:action] == 'new' form.submit(I18n.t(:create), class: 'btn btn-success') else form.submit(I18n.t(:update), class: 'btn btn-primary') end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
zscaffold_admin-0.0.4 | lib/generators/scaffold_admin/templates/code_application_helper.rb |