Sha256: 3017aecc96fdcd063e19e91e93374f50d6d49d154888ac0af1572227acb5644a
Contents?: true
Size: 1.81 KB
Versions: 11
Compression:
Stored size: 1.81 KB
Contents
<%= form_for @author, url: @url, html: { multipart: true } do |f| %> <div class="form-container--left"> <fieldset> <div class="form-group-half"> <%= f.label :first_name %> <%= f.text_field :first_name %> </div> <div class="form-group-half"> <%= f.label :last_name %> <%= f.text_field :last_name %> </div> </fieldset> <fieldset> <div class="form-group-half"> <%= f.label :title %> <%= f.text_field :title %> </div> <div class="form-group-half"> <%= f.label :start_date %> <%= f.text_field :start_date, data: { value: @author.start_date.try(:strftime, "%m/%d/%Y") }, class: 'datepicker' %> </div> </fieldset> <fieldset> <%= f.label :bio, 'Author Bio' %> <%= f.text_area :bio %> </fieldset> <fieldset> <div class="form-group-half"> <%= f.label :email %> <%= f.email_field :email, placeholder: "ryan@example.com" %> </div> <div class="form-group-half"> <%= f.label :twitter %> <%= f.text_field :twitter, placeholder: "ryan_p_francis" %> </div> </fieldset> <fieldset> <div class="form-group-half"> <%= f.label :github %> <%= f.text_field :github, placeholder: "francirp" %> </div> <div class="form-group-half"> <%= f.label :dribbble %> <%= f.text_field :dribbble, placeholder: "ryan_p_francis" %> </div> </fieldset> <fieldset class="fieldset"> <%= f.submit class: 'button button--secondary' %> </fieldset> </div> <div class="form-container--right card"> <%= f.label :avatar, 'Updated Author Picture' %> <div class="card-image card-image--avatar"> <%= image_tag @author.avatar.url %> </div> <%= f.file_field :avatar %> </div> <% end %>
Version data entries
11 entries across 11 versions & 1 rubygems