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