Sha256: f0028c512b8d18db4e03b90b080dd6c672162fbf350be1c4d5248ea12aaafd55

Contents?: true

Size: 1.38 KB

Versions: 9

Compression:

Stored size: 1.38 KB

Contents

<%= n.hidden_field :text_filter, value: current_user.text_filter_name %>
<div class='form-group'>
  <%= n.text_area :body, {class: 'form-control', rows: '7', placeholder: t(".compose_new_note")} %>
</div>

<fieldset class="hidden-phone">
  <legend><%= t(".publish_settings") %></legend>
  <% unless twitter_available?(this_blog, current_user) %>
    <%= render 'admin/shared/twitter_alert' %>
  <% else %>
    <div class="checkbox">
      <label for="push_to_twitter">
        <%= check_box_tag 'push_to_twitter', true, true %>
        <%= t(".posse_to_twitter")%>
      </label>
    </div>
    <div class="form-group">
      <label for="note_in_reply_to_status_id"><%= t(".in_reply_to") %></label>
      <%= n.text_field :in_reply_to_status_id, class: 'form-control', placeholder: t(".tweet_id_like") %>
    </div>
  <% end %>
  <div class='form-group'>
    <label for="note_permalink"><%= t(".permanent_link") %></label>
    <%= n.text_field :permalink, class: 'form-control' %>
  </div>
  <div class='form-group'>
    <label for='note_published_at'><%= t(".publish_at") %></label>
    <%= n.text_field :published_at, class: 'form-control datepicker',
      placeholder: t('.now'), data: { locale: I18n.locale } %>
  </div>
  <div class='form-group'>
    <hr>
    <%= link_to(t(".cancel"), {action: 'index'}) %>
    <%= t(".or") %>
    <%= submit_tag(t(".publish"), class: 'btn btn-success') %>
  </div>
</fieldset>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
publify_core-9.1.0 app/views/admin/notes/_form.html.erb
publify_core-9.0.1 app/views/admin/notes/_form.html.erb
publify_core-9.0.0 app/views/admin/notes/_form.html.erb
publify_core-9.0.0.pre6 app/views/admin/notes/_form.html.erb
publify_core-9.0.0.pre5 app/views/admin/notes/_form.html.erb
publify_core-9.0.0.pre4 app/views/admin/notes/_form.html.erb
publify_core-9.0.0.pre3 app/views/admin/notes/_form.html.erb
publify_core-9.0.0.pre2 app/views/admin/notes/_form.html.erb
publify_core-9.0.0.pre1 app/views/admin/notes/_form.html.erb