Sha256: 9665e7c11cc82e3ac5d91afb69fea4b520a65f06b5ed061e4e3790677295d3ee

Contents?: true

Size: 735 Bytes

Versions: 7

Compression:

Stored size: 735 Bytes

Contents

<div class="email">
  <%
  unless @user_request.nil?
    cite = @user_request.referent.to_citation %>
    <%= form_tag({:controller => "export_email", :action => "send_email", :id => params[:id]}, :class => "form-inline" ) do  %>
      <h2>Email the title and locations</h2>
      <%= validation_error flash[:alert] if flash[:alert] %>
      <fieldset>
        <legend>Title: <%= h(cite[:title]) %>/<%= h(cite[:author]) %></legend>
        <div class="control-group">
          <%= label_tag 'email', 'Enter your email address:' %>
          <%= text_field_tag 'email', params[:email], :class => "input-xlarge" %>
        </div>
        <%= submit_tag 'Send!', :class => "btn btn-inverse" %>
      </fieldset><%
    end
  end %>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
umlaut-3.3.1 app/views/export_email/email.html.erb
umlaut-3.3.0 app/views/export_email/email.html.erb
umlaut-3.2.0 app/views/export_email/email.html.erb
umlaut-3.1.1 app/views/export_email/email.html.erb
umlaut-3.1.0 app/views/export_email/email.html.erb
umlaut-3.1.0.pre2 app/views/export_email/email.html.erb
umlaut-3.1.0.pre1 app/views/export_email/email.html.erb