<%= f.error_messages %>

<p>
  <%= f.label :text %>
  <%= f.text_field :text %>
</p>

<p>
  <%= f.label :expires_in %>
  <%= f.select :expires_in, Message::DURATIONS_SELECT %>
  <%- if @message.created_at -%>
    <em>From message creation, <%= @message.created_at %></em>
  <%- end -%>
</p>

<p>
  <%= f.label :tag_list, "Tags" %>
  <%= f.text_field :tag_list, :size=>40 %>
  <em>
    Separate with commas
  </em>
</p>

<p style="text-align: right; margin-bottom: 0;">
  <%= f.submit @message.new_record? ? "Create" : "Update" %>
</p>

<%= f.error_messages %>

<p>
  <%= f.label :text %>
  <%= f.text_field :text %>
</p>

<p>
  <%= f.label :expires_in %>
  <%= f.select :expires_in, Message::DURATIONS_SELECT %>
  <%- if @message.created_at -%>
    <em>From message creation, <%= time_ago_in_words(@message.created_at) %> ago</em>
  <%- end -%>
</p>

<p>
  <%= f.label :tag_list, "Tags" %>
  <%= f.text_field :tag_list, :size=>40 %>
  <em>
    Separate with commas
  </em>
</p>

<p style="text-align: right; margin-bottom: 0;">
  <%= f.submit @message.new_record? ? "Create" : "Update" %>
</p>

Make timestampe easier to understand in context.
Make timestampe easier to understand in context.
