Sha256: 4b6b233bacaa6f2fde86c7198ae8afe62d074bba82b67fe6930a9c38120c286c

Contents?: true

Size: 956 Bytes

Versions: 54

Compression:

Stored size: 956 Bytes

Contents

<%= render 'backend/general_form_error', object: @model %>

<%= simple_form_for [:backend, @model] do |f| %>
  <div class="row">
    <div class="col-md-8">
      <div class="card">
        <div class="card-header">
          <%= t 'b.general' %>
        </div>

        <div class="card-block">
          <%= f.input :user_id, collection: User.order(:first_name, :last_name), label_method: :full_name, label: t('b.author') %>
          <%= f.input :published_at, as: :datetime, start_year: 1990, end_year: 2050 %>
        </div>
      </div>
    </div>

    <div class="col-md-4">
      <div class="card">
        <div class="card-header">
          <%= t 'b.settings' %>
        </div>

        <div class="card-block">
          <%= f.input :press_release, as: :boolean %>
          <%= f.input :visible, as: :boolean %>
        </div>
      </div>
    </div>
  </div>

  <%= render 'backend/form_actions', cancel_url: backend_articles_path %>
<% end %>

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
udongo-7.9.0 app/views/backend/articles/_form.html.erb
udongo-7.8.1 app/views/backend/articles/_form.html.erb
udongo-7.8.0 app/views/backend/articles/_form.html.erb
udongo-7.7.2 app/views/backend/articles/_form.html.erb
udongo-7.7.1 app/views/backend/articles/_form.html.erb
udongo-7.7.0 app/views/backend/articles/_form.html.erb
udongo-7.6.2 app/views/backend/articles/_form.html.erb
udongo-7.6.1 app/views/backend/articles/_form.html.erb
udongo-7.6.0 app/views/backend/articles/_form.html.erb
udongo-7.5.1 app/views/backend/articles/_form.html.erb
udongo-7.5.0 app/views/backend/articles/_form.html.erb
udongo-7.4.2 app/views/backend/articles/_form.html.erb
udongo-7.4.1 app/views/backend/articles/_form.html.erb
udongo-7.4.0 app/views/backend/articles/_form.html.erb
udongo-7.3.5 app/views/backend/articles/_form.html.erb
udongo-7.3.4 app/views/backend/articles/_form.html.erb
udongo-7.3.3 app/views/backend/articles/_form.html.erb
udongo-7.3.2 app/views/backend/articles/_form.html.erb
udongo-7.3.1 app/views/backend/articles/_form.html.erb
udongo-7.2.1 app/views/backend/articles/_form.html.erb