10 lines
414 B
Plaintext
10 lines
414 B
Plaintext
<%= simple_form_for(dmail) do |f| %>
|
|
<%= f.input :to_name, :label => "To" %>
|
|
<%= f.input :title %>
|
|
|
|
<%= render "dtext/form", :name => "Body", :input_id => "dmail_body", :input_name => "dmail[body]", :value => dmail.body, :preview_id => "dtext-preview" %>
|
|
|
|
<%= f.button :submit, "Send" %>
|
|
<%= f.button :submit, "Preview", "data-input-id" => "dmail_body", "data-preview-id" => "dtext-preview" %>
|
|
<% end %>
|