Sha256: ed0d5d41e9e862e659a9d81b86480f0c21029963bc5786be4a8db6a872dcd43a

Contents?: true

Size: 1.42 KB

Versions: 23

Compression:

Stored size: 1.42 KB

Contents

<%= n.hidden_field :text_filter_name, 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

23 entries across 23 versions & 2 rubygems

Version Path
HornsAndHooves-publify_core-10.5.0 app/views/admin/notes/_form.html.erb
HornsAndHooves-publify_core-10.4.0 app/views/admin/notes/_form.html.erb
HornsAndHooves-publify_core-10.3.0 app/views/admin/notes/_form.html.erb
HornsAndHooves-publify_core-10.2.0 app/views/admin/notes/_form.html.erb
publify_core-10.0.1 app/views/admin/notes/_form.html.erb
publify_core-10.0.0 app/views/admin/notes/_form.html.erb
publify_core-9.2.10 app/views/admin/notes/_form.html.erb
HornsAndHooves-publify_core-10.1.1 app/views/admin/notes/_form.html.erb
HornsAndHooves-publify_core-10.1.0 app/views/admin/notes/_form.html.erb
HornsAndHooves-publify_core-10.0.3 app/views/admin/notes/_form.html.erb
HornsAndHooves-publify_core-10.0.2 app/views/admin/notes/_form.html.erb
HornsAndHooves-publify_core-10.0.1 app/views/admin/notes/_form.html.erb
HornsAndHooves-publify_core-10.0.0 app/views/admin/notes/_form.html.erb
publify_core-9.2.9 app/views/admin/notes/_form.html.erb
publify_core-9.2.8 app/views/admin/notes/_form.html.erb
publify_core-9.2.7 app/views/admin/notes/_form.html.erb
publify_core-9.2.6 app/views/admin/notes/_form.html.erb
publify_core-9.2.5 app/views/admin/notes/_form.html.erb
publify_core-9.2.4 app/views/admin/notes/_form.html.erb
publify_core-9.2.3 app/views/admin/notes/_form.html.erb