Sha256: 2ca79b4f3c7f1f5880531abf52d0ad23c15086db04ecfa83aed53819924f3458

Contents?: true

Size: 795 Bytes

Versions: 3

Compression:

Stored size: 795 Bytes

Contents

%script#aliass_each_EJS{"type" => "text/ejs"}
  :plain
    <% list (items, function(item, index) { %>
      <tr id="alias_<%= index %>">
  %td.tar
    :plain
      <%= item.source %>
  %td
    %b
      :plain
        @<%= domain_name %>
    %i.icon-hand-right
  %td
    :plain
      <%= item.destination %>
  %td.tar
    = link_to t(".edit"), edit_domain_alias_path('{domain_id}', '{id}'), :class => 'label edit-alias'
    = link_to "&times;".html_safe, domain_alias_path('{domain_id}', '{id}'), :class => 'rm-alias', :title => t(".delete")
  :plain
      </tr>
    <% }) %>

%script#aliass_tabr_EJS{"type" => "text/ejs"}
  %tr.new

%script#aliass_form_EJS{"type" => "text/ejs"}
  %td{:colspan => "4"}
    = render :partial => '/aliases/form', :locals => { :virtual_alias => alias_ejs_object }

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rmails-0.2.5 app/views/aliases/_templates.html.haml
rmails-0.2.4 app/views/aliases/_templates.html.haml
rmails-0.2.3 app/views/aliases/_templates.html.haml