mailr/themes/olive/views/contacts/_external.html.erb
2011-09-16 22:08:30 +02:00

12 lines
357 B
Plaintext
Executable file

<div class="ops">
<%= form_tag(contacts_external_path, :multipart => true) %>
<label for="upload_file"><%= t(:select_file,:scope=>:compose) %></label>:&nbsp;
<%= file_field 'upload', 'datafile' %>
<% if @contacts.size.zero? %>
<%= raw single_action('import','contact','right.png') %>
<% else %>
<%= raw group_action(@ei_buttons) %>
<% end %>
</form>
</div>